diff options
author | bde <bde@FreeBSD.org> | 1998-10-23 18:57:39 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-10-23 18:57:39 +0000 |
commit | 5525376a914c914c882106dbd9a853b715235d60 (patch) | |
tree | 810d0bdd4992ae3429db2ecdf95fc16df7646f62 /sbin/bsdlabel | |
parent | b35bd08816d882ad7b474012b26bd156c31c0560 (diff) | |
download | FreeBSD-src-5525376a914c914c882106dbd9a853b715235d60.zip FreeBSD-src-5525376a914c914c882106dbd9a853b715235d60.tar.gz |
Oops, don't quite use RAW_PART instead of RAWPARTITION. Use 'a' + RAW_PART
in both places.
Diffstat (limited to 'sbin/bsdlabel')
-rw-r--r-- | sbin/bsdlabel/bsdlabel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c index 046daac..bf18a37 100644 --- a/sbin/bsdlabel/bsdlabel.c +++ b/sbin/bsdlabel/bsdlabel.c @@ -46,7 +46,7 @@ static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 1/7/94"; /* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */ #endif static const char rcsid[] = - "$Id: disklabel.c,v 1.21 1998/08/23 07:32:37 bde Exp $"; + "$Id: disklabel.c,v 1.22 1998/10/17 09:56:32 bde Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -226,7 +226,7 @@ main(argc, argv) dkname = argv[0]; if (dkname[0] != '/') { - (void)sprintf(np, "%sr%s%c", _PATH_DEV, dkname, RAW_PART); + (void)sprintf(np, "%sr%s%c", _PATH_DEV, dkname, 'a' + RAW_PART); specname = np; np += strlen(specname) + 1; } else |