summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-08-30 20:29:35 +0000
committerespie <espie@openbsd.org>1999-08-30 20:29:35 +0000
commit60db47599b14dc8c9f49717f8758031f7be98197 (patch)
tree07fc66426ed2cf986a433715c00dba26cb67fd2b
parentCater to Win95 brokenness (from netbsd) (diff)
downloadwireguard-openbsd-60db47599b14dc8c9f49717f8758031f7be98197.tar.xz
wireguard-openbsd-60db47599b14dc8c9f49717f8758031f7be98197.zip
Fix obvious logic error (from netbsd)
-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) {