diff options
Diffstat (limited to 'toys/other/makedevs.c')
-rw-r--r-- | toys/other/makedevs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/makedevs.c b/toys/other/makedevs.c index 0f0a6615..0f79b25f 100644 --- a/toys/other/makedevs.c +++ b/toys/other/makedevs.c @@ -99,7 +99,7 @@ void makedevs_main() perror_msg("line %d: file '%s' does not exist", line_no, ptr); continue; } - } else if (mknod(ptr, mode, makedev(major, minor + i*incr))) { + } else if (mknod(ptr, mode, dev_makedev(major, minor + i*incr))) { perror_msg("line %d: can't create node '%s'", line_no, ptr); continue; } |