[Libguestfs] [PATCH] daemon: Use reply_with_error instead of *_perror for setfiles command.

Richard W.M. Jones rjones at redhat.com
Fri Sep 9 08:00:35 UTC 2016


Fixes commit 9d205f1c284a69390907120ca44f5c723fecc244.
---
 daemon/selinux-relabel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/selinux-relabel.c b/daemon/selinux-relabel.c
index daafe9e..cfc4cf8 100644
--- a/daemon/selinux-relabel.c
+++ b/daemon/selinux-relabel.c
@@ -92,7 +92,7 @@ do_selinux_relabel (const char *specfile, const char *path,
   ADD_ARG (argv, i, NULL);
 
   if (commandv (NULL, &err, argv) == -1) {
-    reply_with_perror ("%s", err);
+    reply_with_error ("%s", err);
     return -1;
   }
 
-- 
2.7.4




More information about the Libguestfs mailing list