[Libguestfs] [PATCH 1/5] lib: Fix incorrect comment in utils.
Richard W.M. Jones
rjones at redhat.com
Sun Mar 6 23:08:57 UTC 2016
The string is not freed by the caller. A fixed buffer is provided
by the caller.
---
src/utils.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/utils.c b/src/utils.c
index ff32a52..f099a22 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -184,9 +184,7 @@ guestfs_int_split_string (char sep, const char *str)
return ret;
}
-/* Translate a wait/system exit status into a printable string. The
- * string must be freed by the caller.
- */
+/* Translate a wait/system exit status into a printable string. */
char *
guestfs_int_exit_status_to_string (int status, const char *cmd_name,
char *buffer, size_t buflen)
--
2.5.0
More information about the Libguestfs
mailing list