diff options
| author | Greg Kurz | 2016-09-16 08:56:15 +0200 |
|---|---|---|
| committer | Greg Kurz | 2016-09-16 08:56:15 +0200 |
| commit | e3e83f2e2130a3afbd41a2893d23397f03f6d9d0 (patch) | |
| tree | 86663d544b52921e0794a56bd6b88d0616439c66 /linux-user/arm/target_structs.h | |
| parent | 9pfs: drop useless v9fs_string_null() function (diff) | |
| download | qemu-e3e83f2e2130a3afbd41a2893d23397f03f6d9d0.tar.gz qemu-e3e83f2e2130a3afbd41a2893d23397f03f6d9d0.tar.xz qemu-e3e83f2e2130a3afbd41a2893d23397f03f6d9d0.zip | |
9pfs: introduce v9fs_path_sprintf() helper
This helper is similar to v9fs_string_sprintf(), but it includes the
terminating NUL character in the size field.
This is to avoid doing v9fs_string_sprintf((V9fsString *) &path) and
then bumping the size.
Affected users are changed to use this new helper.
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'linux-user/arm/target_structs.h')
0 files changed, 0 insertions, 0 deletions
