summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
authorMarco d'Itri <md@Linux.IT>2005-11-07 18:52:03 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-07 18:52:03 +0100
commitdf4e89bfa61b6aaea41619842aa9032dd1af072e (patch)
tree73350d1017e1c531d6b19c60838d9d8082d3c282 /udevd.c
parentff3e4bed21aaff673284f2e024da26c1e39cfda6 (diff)
move some logging from dbg() to info()
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udevd.c b/udevd.c
index 86905923be..333ad4143a 100644
--- a/udevd.c
+++ b/udevd.c
@@ -743,10 +743,10 @@ int main(int argc, char *argv[], char *envp[])
/* init sockets to receive events */
if (init_udevd_socket() < 0) {
if (errno == EADDRINUSE) {
- dbg("another udevd running, exit");
+ err("another udevd running, exit");
rc = 1;
} else {
- dbg("error initializing udevd socket: %s", strerror(errno));
+ err("error initializing udevd socket: %s", strerror(errno));
rc = 2;
}
goto exit;
@@ -872,7 +872,7 @@ int main(int argc, char *argv[], char *envp[])
fdcount = select(maxfd+1, &readfds, NULL, NULL, NULL);
if (fdcount < 0) {
if (errno != EINTR)
- dbg("error in select: %s", strerror(errno));
+ err("error in select: %s", strerror(errno));
continue;
}