* lib/commonio.c: Display PID as unsigned long.
This commit is contained in:
parent
905e14ee83
commit
1f4f00acad
@ -1,3 +1,7 @@
|
||||
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* lib/commonio.c: Display PID as unsigned long.
|
||||
|
||||
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/useradd.c: Remove unused Zflg.
|
||||
|
@ -216,8 +216,8 @@ static int do_lock_file (const char *file, const char *lock, bool log)
|
||||
if (kill (pid, 0) == 0) {
|
||||
if (log) {
|
||||
(void) fprintf (stderr,
|
||||
"%s: lock %s already used by PID %d\n",
|
||||
Prog, lock, pid);
|
||||
"%s: lock %s already used by PID %lu\n",
|
||||
Prog, lock, (unsigned long) pid);
|
||||
}
|
||||
unlink (file);
|
||||
errno = EEXIST;
|
||||
|
Loading…
Reference in New Issue
Block a user