summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/probing.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/probing.c')
-rw-r--r--mdk-stage1/probing.c2
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);
}
}