diff options
Diffstat (limited to 'sbin/fsck_msdos/dir.c')
-rw-r--r-- | sbin/fsck_msdos/dir.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/fsck_msdos/dir.c b/sbin/fsck_msdos/dir.c index a5a197d88fb..607f8001bd4 100644 --- a/sbin/fsck_msdos/dir.c +++ b/sbin/fsck_msdos/dir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dir.c,v 1.12 2001/07/03 13:03:45 ian Exp $ */ +/* $OpenBSD: dir.c,v 1.13 2001/07/07 18:26:12 deraadt Exp $ */ /* $NetBSD: dir.c,v 1.11 1997/10/17 11:19:35 ws Exp $ */ /* @@ -37,7 +37,7 @@ #ifndef lint -static char rcsid[] = "$OpenBSD: dir.c,v 1.12 2001/07/03 13:03:45 ian Exp $"; +static char rcsid[] = "$OpenBSD: dir.c,v 1.13 2001/07/07 18:26:12 deraadt Exp $"; #endif /* not lint */ #include <stdio.h> @@ -804,7 +804,7 @@ readDosDirSection(f, boot, fat, dir) continue; } if (strcmp(dirent.name, "..") == 0) { - if (dir->parent) /* XXX */ + if (dir->parent) { /* XXX */ if (!dir->parent->parent) { if (dirent.head) { pwarn("`..' entry in %s has non-zero start cluster\n", @@ -833,6 +833,7 @@ readDosDirSection(f, boot, fat, dir) } else mod |= FSERROR; } + } continue; } |