diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-03-22 02:51:07 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-03-22 02:51:07 +0000 |
commit | e51352172c2ed09ad14cea4ffa4165bff1a4a8a0 (patch) | |
tree | b33147ee6b6e75118df9ddb8b50e493d7a398b63 /sbin/newfs_msdos | |
parent | d2a6417e6020b79d91cd29d729c8a9c4a0591dba (diff) |
removed code that was inside #if 0 ... #endif
Diffstat (limited to 'sbin/newfs_msdos')
-rw-r--r-- | sbin/newfs_msdos/newfs_msdos.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.c b/sbin/newfs_msdos/newfs_msdos.c index 5004b8650b5..5bf676ca96c 100644 --- a/sbin/newfs_msdos/newfs_msdos.c +++ b/sbin/newfs_msdos/newfs_msdos.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs_msdos.c,v 1.4 1997/01/15 23:41:32 millert Exp $ */ +/* $OpenBSD: newfs_msdos.c,v 1.5 1997/03/22 02:51:06 kstailey Exp $ */ /* * Copyright (c) 1995, 1996 Joerg Wunsch @@ -225,13 +225,8 @@ main(argc, argv) if (argc != 1) usage(); -#if 0 - if ((fd = open(argv[0], O_RDWR | O_EXCL, 0)) == -1) - err(1, "open(%s)", argv[0]); -#else if ((fd = opendev(argv[0], O_RDWR | O_EXCL, OPENDEV_PART, &rdev)) < 0) err(1, "%s", rdev); -#endif if (format == 0) { /* |