Don't prepend "r" for the raw device anymore.
This commit is contained in:
parent
581b771a42
commit
9fe5b6aa8f
@ -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