summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-10 05:54:47 +0000
committerobrien <obrien@FreeBSD.org>2000-04-10 05:54:47 +0000
commit9fe5b6aa8fb19f84706d94d99d7320ac97aa177e (patch)
treea332ec960a3faa9cd687e407e80f3f5c551504b1 /sbin
parent581b771a42435d7e6ce917c36820fe7110278c14 (diff)
downloadFreeBSD-src-9fe5b6aa8fb19f84706d94d99d7320ac97aa177e.zip
FreeBSD-src-9fe5b6aa8fb19f84706d94d99d7320ac97aa177e.tar.gz
Don't prepend "r" for the raw device anymore.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/bsdlabel/bsdlabel.c2
-rw-r--r--sbin/disklabel/disklabel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c
index 3918ff9..13d139a 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -225,7 +225,7 @@ main(argc, argv)
dkname = argv[0];
if (dkname[0] != '/') {
- (void)sprintf(np, "%sr%s%c", _PATH_DEV, dkname, 'a' + RAW_PART);
+ (void)sprintf(np, "%s%s%c", _PATH_DEV, dkname, 'a' + RAW_PART);
specname = np;
np += strlen(specname) + 1;
} else
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c
index 3918ff9..13d139a 100644
--- a/sbin/disklabel/disklabel.c
+++ b/sbin/disklabel/disklabel.c
@@ -225,7 +225,7 @@ main(argc, argv)
dkname = argv[0];
if (dkname[0] != '/') {
- (void)sprintf(np, "%sr%s%c", _PATH_DEV, dkname, 'a' + RAW_PART);
+ (void)sprintf(np, "%s%s%c", _PATH_DEV, dkname, 'a' + RAW_PART);
specname = np;
np += strlen(specname) + 1;
} else
OpenPOWER on IntegriCloud