diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-17 16:28:10 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-17 16:28:10 +0000 |
commit | 9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch) | |
tree | 94c3c0678d1349497abe2db6004e9331e50f6d37 /util-linux/mdev.c | |
parent | a6127aacef047ed7661722705b052811fbe7f467 (diff) | |
download | busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.bz2 busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip |
whitespace cleanup
Diffstat (limited to 'util-linux/mdev.c')
-rw-r--r-- | util-linux/mdev.c | 6 |
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); |