qemu/osdep: Reword qemu_get_exec_dir() documentation
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 14 Jul 2020 16:14:33 +0000 (18:14 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 21 Jul 2020 14:13:04 +0000 (16:13 +0200)
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>

include/qemu/osdep.h

index 4841b5c6b5f85c427bcf62c76e646dc2b0c5db0f..45c217aa28034869a7171e18d5275b9dbf13c403 100644 (file)
@@ -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);
 
 /**