Don't prepend "r" for the raw device anymore.
This commit is contained in:
parent
e4f66a9963
commit
09c4216dd5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user