From: Philippe Mathieu-Daudé Date: Tue, 14 Jul 2020 16:14:33 +0000 (+0200) Subject: qemu/osdep: Reword qemu_get_exec_dir() documentation X-Git-Tag: v5.1.0-rc2~23^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d450cccc9a4f4409434f4bd0a80270836f6bc3c3;p=thirdparty%2Fqemu.git qemu/osdep: Reword qemu_get_exec_dir() documentation This comment is confuse, reword it a bit. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael Rolnik Tested-by: Michael Rolnik Reviewed-by: Daniel P. Berrangé Message-Id: <20200714164257.23330-3-f4bug@amsat.org> --- diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 4841b5c6b5f..45c217aa280 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); /**