artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30c0dc8
)
removed code that was inside #if 0 ... #endif
author
kstailey
<kstailey@openbsd.org>
Sat, 22 Mar 1997 02:51:06 +0000
(
02:51
+0000)
committer
kstailey
<kstailey@openbsd.org>
Sat, 22 Mar 1997 02:51:06 +0000
(
02:51
+0000)
sbin/newfs_msdos/newfs_msdos.c
patch
|
blob
|
history
diff --git
a/sbin/newfs_msdos/newfs_msdos.c
b/sbin/newfs_msdos/newfs_msdos.c
index
5004b86
..
5bf676c
100644
(file)
--- 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) {
/*