aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mdev.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-17 16:28:10 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-17 16:28:10 +0000
commit85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212 (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /util-linux/mdev.c
parent75648f106cb64fb6ccbb4a79d89fd6aef7298081 (diff)
downloadbusybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.tar.gz
busybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.tar.bz2
busybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.zip
whitespace cleanup
git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
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)
138 // Command to run 138 // Command to run
139 char *s = "@$*", *s2; 139 char *s = "@$*", *s2;
140 if (!(s2 = strchr(s, *pos++))) { 140 if (!(s2 = strchr(s, *pos++))) {
141 // Force error 141 // Force error
142 field = 1; 142 field = 1;
143 break; 143 break;
144 } 144 }
@@ -171,13 +171,13 @@ static void make_device(char *path, int delete)
171 171
172 if (major == bbg.root_major && minor == bbg.root_minor) 172 if (major == bbg.root_major && minor == bbg.root_minor)
173 symlink(device_name, "root"); 173 symlink(device_name, "root");
174 174
175 if (ENABLE_FEATURE_MDEV_CONF) chown(device_name, uid, gid); 175 if (ENABLE_FEATURE_MDEV_CONF) chown(device_name, uid, gid);
176 } 176 }
177 if (command) { 177 if (command) {
178 int rc; 178 int rc;
179 char *s; 179 char *s;
180 180
181 s=xasprintf("MDEV=%s",device_name); 181 s=xasprintf("MDEV=%s",device_name);
182 putenv(s); 182 putenv(s);
183 rc = system(command); 183 rc = system(command);