diff options
Diffstat (limited to 'src/mdevd/mdevd-coldplug.c')
-rw-r--r-- | src/mdevd/mdevd-coldplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mdevd/mdevd-coldplug.c b/src/mdevd/mdevd-coldplug.c index 6edf3fc..6b8953f 100644 --- a/src/mdevd/mdevd-coldplug.c +++ b/src/mdevd/mdevd-coldplug.c @@ -147,7 +147,7 @@ int main (int argc, char const *const *argv, char const *const *envp) struct uevent_s event ; for (;;) if (mdevd_uevent_read(nlfd, &event, 0, verbosity)) { - char *x = mdevd_uevent_getvar(&event, "ACTION") ; + char const *x = mdevd_uevent_getvar(&event, "ACTION") ; if (strcmp(x, "add")) continue ; x = mdevd_uevent_getvar(&event, "SUBSYSTEM") ; if (strcmp(x, subsystem)) continue ; |