summaryrefslogtreecommitdiff
path: root/sbin/fsck_msdos
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-08-30 20:29:36 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-08-30 20:29:36 +0000
commit90e3f5e7f61875099116c69ca76cc4838a127657 (patch)
treea2d8ef5012ef7a4ee251e8540240e93bfdc209f7 /sbin/fsck_msdos
parentc323cfe2371f4f8dc73c01f764af0fec8ea15bf8 (diff)
Fix obvious logic error (from netbsd)
Diffstat (limited to 'sbin/fsck_msdos')
-rw-r--r--sbin/fsck_msdos/dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_msdos/dir.c b/sbin/fsck_msdos/dir.c
index 5491f510290..fec934e24fe 100644
--- a/sbin/fsck_msdos/dir.c
+++ b/sbin/fsck_msdos/dir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dir.c,v 1.9 1998/01/11 20:40:31 provos Exp $ */
+/* $OpenBSD: dir.c,v 1.10 1999/08/30 20:29:35 espie 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.9 1998/01/11 20:40:31 provos Exp $";
+static char rcsid[] = "$OpenBSD: dir.c,v 1.10 1999/08/30 20:29:35 espie Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -942,7 +942,7 @@ reconnect(dosfs, boot, fat, head)
struct dosDirEntry d;
u_char *p;
- if (ask(1, "Reconnect"))
+ if (!ask(1, "Reconnect"))
return FSERROR;
if (!lostDir) {