From 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 3 Feb 2011 19:33:30 +0000 Subject: [PATCH] daemon: Ignore return value from chdir. This updates commit 7eb012f3710bb554d5fc2c4229036901b0b5ad90. --- daemon/guestfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index b3154a6..1af0f7a 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -130,7 +130,7 @@ main (int argc, char *argv[]) int c; char *cmdline; - chdir ("/"); + ignore_value (chdir ("/")); if (winsock_init () == -1) error (EXIT_FAILURE, 0, "winsock initialization failed"); -- 1.8.3.1