summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ifs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-04-02 15:25:19 +0000
committerbde <bde@FreeBSD.org>1995-04-02 15:25:19 +0000
commit93d526e43b20ebd9c84f184c2619384253575c8b (patch)
treea603aeb95c2f4d5465eeb7f9f2839c9f0aa28291 /sbin/fsck_ifs
parent2742dc81e0a2c14dd7868eadfd72be0636515932 (diff)
downloadFreeBSD-src-93d526e43b20ebd9c84f184c2619384253575c8b.zip
FreeBSD-src-93d526e43b20ebd9c84f184c2619384253575c8b.tar.gz
Submitted by: Philippe Charnier <charnier@lirmm.fr>, distilled by bde
Fix a couple more bogus types that aren't reported by `gcc -Wall'.
Diffstat (limited to 'sbin/fsck_ifs')
-rw-r--r--sbin/fsck_ifs/dir.c2
-rw-r--r--sbin/fsck_ifs/inode.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/sbin/fsck_ifs/dir.c b/sbin/fsck_ifs/dir.c
index b05109c..ead9a5f 100644
--- a/sbin/fsck_ifs/dir.c
+++ b/sbin/fsck_ifs/dir.c
@@ -597,7 +597,7 @@ bad:
/*
* allocate a new directory
*/
-int
+ino_t
allocdir(parent, request, mode)
ino_t parent, request;
int mode;
diff --git a/sbin/fsck_ifs/inode.c b/sbin/fsck_ifs/inode.c
index dcf2d89..22cee3f 100644
--- a/sbin/fsck_ifs/inode.c
+++ b/sbin/fsck_ifs/inode.c
@@ -56,7 +56,8 @@ ckinode(dp, idesc)
register struct inodesc *idesc;
{
register daddr_t *ap;
- long ret, n, ndb, offset;
+ int ret;
+ long n, ndb, offset;
struct dinode dino;
quad_t remsize, sizepb;
mode_t mode;
OpenPOWER on IntegriCloud