summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-06-17 07:56:00 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-06-17 07:56:00 +0000
commit623fee4d1092dd6a9b8b4237390df8a15c07e108 (patch)
tree67c10dfc36eb326338b9f952eebb7fb71d889671 /sbin
parentc72b8c58d4dafc91cd2acfa3419b4d6fb7d7e726 (diff)
opendev.h -> util.h
Diffstat (limited to 'sbin')
-rw-r--r--sbin/disklabel/disklabel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c
index 8faa22f8613..2a660a861b2 100644
--- a/sbin/disklabel/disklabel.c
+++ b/sbin/disklabel/disklabel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.c,v 1.10 1996/06/17 06:57:06 downsj Exp $ */
+/* $OpenBSD: disklabel.c,v 1.11 1996/06/17 07:55:59 downsj Exp $ */
/* $NetBSD: disklabel.c,v 1.30 1996/03/14 19:49:24 ghudson Exp $ */
/*
@@ -48,7 +48,7 @@ static char copyright[] =
/* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */
static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 1/7/94";
#else
-static char rcsid[] = "$OpenBSD: disklabel.c,v 1.10 1996/06/17 06:57:06 downsj Exp $";
+static char rcsid[] = "$OpenBSD: disklabel.c,v 1.11 1996/06/17 07:55:59 downsj Exp $";
#endif
#endif /* not lint */
@@ -70,8 +70,8 @@ static char rcsid[] = "$OpenBSD: disklabel.c,v 1.10 1996/06/17 06:57:06 downsj E
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#include <opendev.h>
#include <unistd.h>
+#include <util.h>
#include "pathnames.h"
/*
@@ -232,7 +232,7 @@ main(argc, argv)
dkname = argv[0];
f = opendev(dkname, (op == READ ? O_RDONLY : O_RDWR), OPENDEV_PART,
- 0600, &specname);
+ &specname);
if (f < 0)
err(4, "%s", specname);