Tag one of the remaining strtol.

This commit is contained in:
nekral-guest 2009-04-11 16:08:00 +00:00
parent ca1bb50c24
commit e27f4a91b9

View 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);