diff options
author | Philippe Mathieu-Daudé | 2020-07-14 18:14:33 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2020-07-21 16:13:04 +0200 |
commit | d450cccc9a4f4409434f4bd0a80270836f6bc3c3 (patch) | |
tree | acfe940bb91ba6c0b897268e2f5995b5ac632db3 /include/qemu/osdep.h | |
parent | qemu/osdep: Document os_find_datadir() return value (diff) | |
download | qemu-d450cccc9a4f4409434f4bd0a80270836f6bc3c3.tar.gz qemu-d450cccc9a4f4409434f4bd0a80270836f6bc3c3.tar.xz qemu-d450cccc9a4f4409434f4bd0a80270836f6bc3c3.zip |
qemu/osdep: Reword qemu_get_exec_dir() documentation
This comment is confuse, reword it a bit.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Michael Rolnik <mrolnik@gmail.com>
Tested-by: Michael Rolnik <mrolnik@gmail.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200714164257.23330-3-f4bug@amsat.org>
Diffstat (limited to 'include/qemu/osdep.h')
-rw-r--r-- | include/qemu/osdep.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 4841b5c6b5..45c217aa28 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -588,7 +588,10 @@ char *qemu_get_local_state_pathname(const char *relative_pathname); void qemu_init_exec_dir(const char *argv0); /* Get the saved exec dir. - * Caller needs to release the returned string by g_free() */ + * + * The caller is responsible for releasing the value returned with g_free() + * after use. + */ char *qemu_get_exec_dir(void); /** |