aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mdev.c')
-rw-r--r--util-linux/mdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index b6ca00409..da4930f27 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -138,7 +138,7 @@ static void make_device(char *path, int delete)
// Command to run
char *s = "@$*", *s2;
if (!(s2 = strchr(s, *pos++))) {
- // Force error
+ // Force error
field = 1;
break;
}
@@ -171,13 +171,13 @@ static void make_device(char *path, int delete)
if (major == bbg.root_major && minor == bbg.root_minor)
symlink(device_name, "root");
-
+
if (ENABLE_FEATURE_MDEV_CONF) chown(device_name, uid, gid);
}
if (command) {
int rc;
char *s;
-
+
s=xasprintf("MDEV=%s",device_name);
putenv(s);
rc = system(command);