diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-26 09:25:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-26 09:25:23 +0000 |
commit | 6aa6edb00aa211e3677bbe83a79f77a698463a78 (patch) | |
tree | 0d78960a0fcda70c8880a741fb843e94c28a0bb5 /sbin/fsck/preen.c | |
parent | c300dc80ea9a11b57eb166b83bf23af534af067f (diff) |
pid_t cleanup
Diffstat (limited to 'sbin/fsck/preen.c')
-rw-r--r-- | sbin/fsck/preen.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/fsck/preen.c b/sbin/fsck/preen.c index 746e85c614f..f832e330c77 100644 --- a/sbin/fsck/preen.c +++ b/sbin/fsck/preen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: preen.c,v 1.9 2002/03/14 06:51:41 mpech Exp $ */ +/* $OpenBSD: preen.c,v 1.10 2002/05/26 09:24:35 deraadt Exp $ */ /* $NetBSD: preen.c,v 1.15 1996/09/28 19:21:42 christos Exp $ */ /* @@ -94,9 +94,10 @@ checkfstab(flags, maxrun, docheck, checkit) struct fstab *fs; struct diskentry *d, *nextdisk; struct partentry *p; - int ret, pid, retcode, passno, sumstatus, status; + int ret, retcode, passno, sumstatus, status; void *auxarg; char *name; + pid_t pid; TAILQ_INIT(&badh); TAILQ_INIT(&diskh); @@ -165,7 +166,7 @@ checkfstab(flags, maxrun, docheck, checkit) break; if (d == NULL) { - warnx("Unknown pid %d", pid); + warnx("Unknown pid %ld", (long)pid); continue; } |