diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-26 17:43:48 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-26 17:43:48 +0200 |
commit | c8f8394a9309d4390daac70b736b34d0b6734f95 (patch) | |
tree | 38432ff21ddd7f43c58638ae56ef9c4bdf38a234 /src/libudev/libudev.c | |
parent | e01a15b71e18bf2008aec7e75041ffa42eb80b80 (diff) | |
download | systemd-c8f8394a9309d4390daac70b736b34d0b6734f95.tar.gz |
libudev: prefix log macros with 'udev_'
Diffstat (limited to 'src/libudev/libudev.c')
-rw-r--r-- | src/libudev/libudev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c index 212c5fdd75..a0ec39d027 100644 --- a/src/libudev/libudev.c +++ b/src/libudev/libudev.c @@ -143,7 +143,7 @@ _public_ struct udev *udev_new(void) /* split key/value */ val = strchr(key, '='); if (val == NULL) { - err(udev, "missing <key>=<value> in " SYSCONFDIR "/udev/udev.conf[%i]; skip line\n", line_nr); + udev_err(udev, "missing <key>=<value> in " SYSCONFDIR "/udev/udev.conf[%i]; skip line\n", line_nr); continue; } val[0] = '\0'; @@ -175,7 +175,7 @@ _public_ struct udev *udev_new(void) /* unquote */ if (val[0] == '"' || val[0] == '\'') { if (val[len-1] != val[0]) { - err(udev, "inconsistent quoting in " SYSCONFDIR "/udev/udev.conf[%i]; skip line\n", line_nr); + udev_err(udev, "inconsistent quoting in " SYSCONFDIR "/udev/udev.conf[%i]; skip line\n", line_nr); continue; } val[len-1] = '\0'; @@ -249,7 +249,7 @@ _public_ void udev_set_log_fn(struct udev *udev, const char *format, va_list args)) { udev->log_fn = log_fn; - dbg(udev, "custom logging function %p registered\n", log_fn); + udev_dbg(udev, "custom logging function %p registered\n", log_fn); } /** |