chiark / gitweb /
[PATCH] switch to generate the man pages during the normal build, not during the...
[elogind.git] / udev_config.c
index fe26850a87f69e7cc5e2036ba44c2d58c4217f89..ba04003e909285c89349f2178c4d1f82da37dd38 100644 (file)
@@ -86,13 +86,13 @@ static void init_variables(void)
 
 #define set_var(_name, _var)                           \
        if (strcasecmp(variable, _name) == 0) {         \
-               dbg_parse("%s = '%s'", _name, value);   \
-               strfieldcpymax(_var, value, sizeof(_var));\
+               dbg_parse("%s='%s'", _name, value);     \
+               strfieldcpy(_var, value);\
        }
 
 #define set_bool(_name, _var)                          \
        if (strcasecmp(variable, _name) == 0) {         \
-               dbg_parse("%s = '%s'", _name, value);   \
+               dbg_parse("%s='%s'", _name, value);     \
                _var = string_is_true(value);           \
        }