chiark / gitweb /
clients: unify how we invoke getopt_long()
[elogind.git] / src / core / manager.c
index 01db2b0be9b640f0372c242ac239aab75b6c482f..c75c1e1a4ebace040fc5753131d549dde5352147 100644 (file)
@@ -1796,7 +1796,7 @@ int manager_loop(Manager *m) {
         manager_check_finished(m);
 
         /* There might still be some zombies hanging around from
-         * before we were exec()'ed. Leat's reap them */
+         * before we were exec()'ed. Let's reap them. */
         r = manager_dispatch_sigchld(m);
         if (r < 0)
                 return r;
@@ -2062,7 +2062,7 @@ void manager_dispatch_bus_query_pid_done(
 
 int manager_open_serialization(Manager *m, FILE **_f) {
         char *path = NULL;
-        int fd;
+        int fd = -1;
         FILE *f;
 
         assert(_f);