summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorFrederic Cambus <fcambus@cvs.openbsd.org>2017-04-10 08:19:13 +0000
committerFrederic Cambus <fcambus@cvs.openbsd.org>2017-04-10 08:19:13 +0000
commit26fc5a626ea651d8b75b78eab223b2ec3ab90621 (patch)
treed1338d9a3c066226a0c09e3ec1b1712908a45215 /sbin
parent5508509cf93b348433bc579b9163e2d32a5e0f99 (diff)
Remove always false comparison: inosused type is ino_t, which is
unsigned. While there, fix a whitespace issue. OK deraadt@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fsck_ffs/pass1.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c
index bc3ef891335..02bb8ad32a5 100644
--- a/sbin/fsck_ffs/pass1.c
+++ b/sbin/fsck_ffs/pass1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pass1.c,v 1.43 2015/08/22 06:00:27 deraadt Exp $ */
+/* $OpenBSD: pass1.c,v 1.44 2017/04/10 08:19:12 fcambus Exp $ */
/* $NetBSD: pass1.c,v 1.16 1996/09/27 22:45:15 christos Exp $ */
/*
@@ -126,11 +126,9 @@ pass1(void)
}
break;
}
- if (inosused < 0)
- inosused = 0;
}
/*
- * Allocate inoinfo structures for the allocated inodes.
+ * Allocate inoinfo structures for the allocated inodes.
*/
inostathead[c].il_numalloced = inosused;
if (inosused == 0) {