[systemd-commits] src/shared

Lennart Poettering lennart at kemper.freedesktop.org
Wed May 21 01:45:29 PDT 2014


 src/shared/util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 359a06aae9645d436e3d8ec5190bc76160f1de60
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed May 21 17:44:45 2014 +0900

    util: fix a gcc compiler warning

diff --git a/src/shared/util.c b/src/shared/util.c
index 0cc51e0..c18d31d 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -6093,7 +6093,7 @@ int container_get_leader(const char *machine, pid_t *pid) {
 
 int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *root_fd) {
         _cleanup_close_ int pidnsfd = -1, mntnsfd = -1, netnsfd = -1;
-        int rfd;
+        int rfd = -1;
 
         assert(pid >= 0);
 



More information about the systemd-commits mailing list