]> granicus.if.org Git - shadow/commitdiff
Tag one of the remaining strtol.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 11 Apr 2009 16:08:00 +0000 (16:08 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 11 Apr 2009 16:08:00 +0000 (16:08 +0000)
lib/commonio.c

index c80b9855c4b7121e5ddf6daac7b9e308adf43a71..8bad3635ab7518158b5b3ac6ffd2c2a7efb3a2df 100644 (file)
@@ -152,6 +152,7 @@ static int do_lock_file (const char *file, const char *lock)
                return 0;
        }
        buf[len] = '\0';
+       /* FIXME: use a get_pid */
        pid = strtol (buf, (char **) 0, 10);
        if (0 == pid) {
                unlink (file);