aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mdev.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-04-21 18:18:48 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-04-21 18:18:48 +0200
commit47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5 (patch)
tree05127e986021176649f2dd660a92ef8b8e107e92 /util-linux/mdev.c
parente6a2f4cc5a47d3022bdf5ca2cacbaa5a8c5baf7a (diff)
downloadbusybox-w32-47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5.tar.gz
busybox-w32-47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5.tar.bz2
busybox-w32-47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5.zip
*: add most of the required setup_common_bufsiz() calls
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mdev.c')
-rw-r--r--util-linux/mdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index 7473b1855..37514eb54 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -288,6 +288,7 @@ struct globals {
288} FIX_ALIASING; 288} FIX_ALIASING;
289#define G (*(struct globals*)bb_common_bufsiz1) 289#define G (*(struct globals*)bb_common_bufsiz1)
290#define INIT_G() do { \ 290#define INIT_G() do { \
291 setup_common_bufsiz(); \
291 IF_NOT_FEATURE_MDEV_CONF(G.cur_rule.maj = -1;) \ 292 IF_NOT_FEATURE_MDEV_CONF(G.cur_rule.maj = -1;) \
292 IF_NOT_FEATURE_MDEV_CONF(G.cur_rule.mode = 0660;) \ 293 IF_NOT_FEATURE_MDEV_CONF(G.cur_rule.mode = 0660;) \
293} while (0) 294} while (0)