From ef6d55ef34926a2b2854393b631420c14a9f7eb0 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Thu, 2 Aug 2007 10:29:31 +0000 Subject: [PATCH] Moved messages about pam_usb not being able to change the owner from error to debug (they're just warnings) --- src/pad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pad.c b/src/pad.c index efc05d1..3eb2631 100644 --- a/src/pad.c +++ b/src/pad.c @@ -122,13 +122,13 @@ static int pusb_pad_protect(const char *user, int fd) } if (fchown(fd, user_ent->pw_uid, user_ent->pw_gid) == -1) { - log_error("Unable to change owner of the pad: %s\n", + log_debug("Unable to change owner of the pad: %s\n", strerror(errno)); return (0); } if (fchmod(fd, S_IRUSR | S_IWUSR) == -1) { - log_error("Unable to change mode of the pad: %s\n", + log_debug("Unable to change mode of the pad: %s\n", strerror(errno)); return (0); }