chiark / gitweb /
udevd: move logging from err to info for non-hotplug uevent
authorKay Sievers <kay.sievers@suse.de>
Wed, 12 Oct 2005 09:55:49 +0000 (11:55 +0200)
committerKay Sievers <kay.sievers@suse.de>
Wed, 12 Oct 2005 09:55:49 +0000 (11:55 +0200)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udevd.c

diff --git a/udevd.c b/udevd.c
index aaf80a2..a926715 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -611,7 +611,7 @@ static struct uevent_msg *get_netlink_msg(void)
        pos[0] = '\0';
 
        if (msg->action == NULL) {
-               err("no ACTION in payload found, skip event '%s'", buffer);
+               info("no ACTION in payload found, skip event '%s'", buffer);
                free(msg);
                return NULL;
        }
@@ -865,7 +865,7 @@ int main(int argc, char *argv[], char *envp[])
                if (errno == EADDRINUSE)
                        dbg("another udevd running, exit");
                else
-                       dbg("error initialising udevd socket: %s", strerror(errno));
+                       dbg("error initializing udevd socket: %s", strerror(errno));
 
                goto exit;
        }