Don't use the old raw name for disk devices.
This commit is contained in:
parent
c8cf61e182
commit
dc6bbfb6f8
@ -269,7 +269,7 @@ main(int argc, char *argv[])
|
||||
disk = argv[0];
|
||||
else
|
||||
{
|
||||
snprintf(realname, 12, "/dev/r%s", argv[0]);
|
||||
snprintf(realname, 12, "/dev/%s", argv[0]);
|
||||
disk = realname;
|
||||
}
|
||||
|
||||
|
@ -269,7 +269,7 @@ main(int argc, char *argv[])
|
||||
disk = argv[0];
|
||||
else
|
||||
{
|
||||
snprintf(realname, 12, "/dev/r%s", argv[0]);
|
||||
snprintf(realname, 12, "/dev/%s", argv[0]);
|
||||
disk = realname;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user