diff options
Diffstat (limited to 'mdk-stage1/probing.c')
-rw-r--r-- | mdk-stage1/probing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index 3df4ec465..956038da2 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -780,7 +780,7 @@ void find_media(enum media_bus bus) mkdir(name, 0755); *ptr = '/'; } - if (stat(name, &statbuf) && mknod(name, S_IFBLK | 0600, makedev(major, minor))) { + if (stat(name, &statbuf)) { log_perror(name); } } |