mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
Fix incorrect arguments being passed to mknod
This commit is contained in:
parent
b737b1a68b
commit
cbcdbc41ff
@ -27,8 +27,8 @@ int makedevs_main(int argc, char **argv)
|
|||||||
|
|
||||||
basedev = argv[1];
|
basedev = argv[1];
|
||||||
type = argv[2];
|
type = argv[2];
|
||||||
Smajor = major(atoi(argv[3]));
|
Smajor = atoi(argv[3]);
|
||||||
Sminor = minor(atoi(argv[4]));
|
Sminor = atoi(argv[4]);
|
||||||
S = atoi(argv[5]);
|
S = atoi(argv[5]);
|
||||||
E = atoi(argv[6]);
|
E = atoi(argv[6]);
|
||||||
nodname = argc == 8 ? basedev : buf;
|
nodname = argc == 8 ? basedev : buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user