-b option was being ignored when used in conjunction with -d.
authormillert <millert@openbsd.org>
Tue, 25 Feb 1997 17:37:20 +0000 (17:37 +0000)
committermillert <millert@openbsd.org>
Tue, 25 Feb 1997 17:37:20 +0000 (17:37 +0000)
NetBSD PR #3254, fix from Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>.

sbin/dump/main.c

index 47013b5..13dd46f 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: main.c,v 1.14 1997/02/10 04:19:55 millert Exp $       */
+/*     $OpenBSD: main.c,v 1.15 1997/02/25 17:37:20 millert Exp $       */
 /*     $NetBSD: main.c,v 1.8 1996/03/15 22:39:32 scottr Exp $  */
 
 /*-
@@ -145,6 +145,7 @@ main(argc, argv)
                                    maxbsize/1024);
                                exit(X_ABORT);
                        }
+                       bflag = 1;
                        break;
 
                case 'c':               /* Tape is cart. not 9-track */