summaryrefslogtreecommitdiff
path: root/src/udev/udevd.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-25 14:51:58 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-12 23:12:06 +0900
commit216e8bbe342160af60fa20a70b95c1bef8639695 (patch)
tree00c74de0a58caf2559f8c78f8e93294a7c171ddb /src/udev/udevd.c
parentbc137cf45df182cbc261c59828ec11cb76d2cf8d (diff)
downloadsystemd-216e8bbe342160af60fa20a70b95c1bef8639695.tar.gz
systemd-216e8bbe342160af60fa20a70b95c1bef8639695.tar.bz2
systemd-216e8bbe342160af60fa20a70b95c1bef8639695.zip
udevd: explicitly set default value of global variables
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r--src/udev/udevd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 2664c8475e..ecec6cafb8 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -62,8 +62,8 @@
static bool arg_debug = false;
static int arg_daemonize = false;
static int arg_resolve_names = 1;
-static unsigned arg_children_max;
-static int arg_exec_delay;
+static unsigned arg_children_max = 0;
+static int arg_exec_delay = 0;
static usec_t arg_event_timeout_usec = 180 * USEC_PER_SEC;
static usec_t arg_event_timeout_warn_usec = 180 * USEC_PER_SEC / 3;