Tag one of the remaining strtol.
This commit is contained in:
parent
ca1bb50c24
commit
e27f4a91b9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user