summaryrefslogtreecommitdiff
path: root/udev_libc_wrapper.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 /udev_libc_wrapper.c
parentff3e4bed21aaff673284f2e024da26c1e39cfda6 (diff)
move some logging from dbg() to info()
Diffstat (limited to 'udev_libc_wrapper.c')
-rw-r--r--udev_libc_wrapper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udev_libc_wrapper.c b/udev_libc_wrapper.c
index a7a8c5342d..fe38993cd7 100644
--- a/udev_libc_wrapper.c
+++ b/udev_libc_wrapper.c
@@ -102,7 +102,7 @@ uid_t lookup_user(const char *user)
pw = getpwnam(user);
if (pw == NULL)
- dbg("specified user unknown '%s'", user);
+ info("specified user unknown '%s'", user);
else
uid = pw->pw_uid;
@@ -116,7 +116,7 @@ gid_t lookup_group(const char *group)
gr = getgrnam(group);
if (gr == NULL)
- dbg("specified group unknown '%s'", group);
+ info("specified group unknown '%s'", group);
else
gid = gr->gr_gid;
@@ -144,7 +144,7 @@ static unsigned long get_id_by_name(const char *uname, const char *dbfile)
char *tail;
if (file_map(dbfile, &buf, &bufsize) != 0) {
- dbg("can't open '%s' as db file: %s", dbfile, strerror(errno));
+ err("can't open '%s' as db file: %s", dbfile, strerror(errno));
return 0;
}
dbg("search '%s' in '%s'", uname, dbfile);