summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-07-14 18:14:33 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-07-21 16:13:04 +0200
commitd450cccc9a4f4409434f4bd0a80270836f6bc3c3 (patch)
treeacfe940bb91ba6c0b897268e2f5995b5ac632db3 /include
parent7da1d7dcc0c08519b92d8af579fec2e2ea9e60b1 (diff)
downloadqemu-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')
-rw-r--r--include/qemu/osdep.h5
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);
/**