diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs/mkfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c index 20d6832..e7504b0 100644 --- a/sbin/newfs/mkfs.c +++ b/sbin/newfs/mkfs.c @@ -183,7 +183,7 @@ mkfs(pp, fsys, fi, fo) MAP_SHARED, fd, 0); - if((int)membase == -1) { + if(membase == MAP_FAILED) { perror("mmap"); exit(12); } |