summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/disk.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-09 11:34:58 +0000
committerdfr <dfr@FreeBSD.org>1999-05-09 11:34:58 +0000
commitd04db090212fbb1e537b66a4836ea87273899655 (patch)
tree5e1ece1ccb596cf3655dd2283d1bf3276774a1f8 /lib/libdisk/disk.c
parent94c48499c77c22afb20f9d550f5a0fca5e77de74 (diff)
downloadFreeBSD-src-d04db090212fbb1e537b66a4836ea87273899655.zip
FreeBSD-src-d04db090212fbb1e537b66a4836ea87273899655.tar.gz
Back out the last change to disk.c - a kernel change removed the need.
Enabled writing to the disklabel when writing a disk (only affects alpha).
Diffstat (limited to 'lib/libdisk/disk.c')
-rw-r--r--lib/libdisk/disk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 591c5e9..67c3867 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: disk.c,v 1.42 1999/05/04 22:44:48 msmith Exp $
+ * $Id: disk.c,v 1.43 1999/05/08 21:21:50 dfr Exp $
*
*/
@@ -241,7 +241,6 @@ Int_Open_Disk(const char *name, u_long size)
strcpy(pname,"/dev/r");
strcat(pname,name);
- strcat(pname,"c");
j = open(pname,O_RDONLY);
if (j < 0) {
#ifdef DEBUG
OpenPOWER on IntegriCloud