summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-08-06 20:41:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-08-06 20:41:09 +0000
commitabdab9264887b198168dac150a9bbff44a774868 (patch)
tree26c311697fe239df4698e550f705fd8ef5a9a932 /sbin/fsck_ffs
parentcde63a0b937f284da8b2903ae196fc5bfb998ea8 (diff)
uid_t and gid_t, and use %u
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c
index cabe02a368e..ef613b4ed52 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inode.c,v 1.13 1997/10/11 20:19:36 niklas Exp $ */
+/* $OpenBSD: inode.c,v 1.14 1999/08/06 20:41:06 deraadt Exp $ */
/* $NetBSD: inode.c,v 1.23 1996/10/11 20:15:47 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)inode.c 8.5 (Berkeley) 2/8/95";
#else
-static char rcsid[] = "$OpenBSD: inode.c,v 1.13 1997/10/11 20:19:36 niklas Exp $";
+static char rcsid[] = "$OpenBSD: inode.c,v 1.14 1999/08/06 20:41:06 deraadt Exp $";
#endif
#endif /* not lint */
@@ -520,7 +520,7 @@ pinode(ino)
dp = ginode(ino);
printf(" OWNER=");
#ifndef SMALL
- if ((pw = getpwuid((int)dp->di_uid)) != 0)
+ if ((pw = getpwuid(dp->di_uid)) != 0)
printf("%s ", pw->pw_name);
else
#endif