summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-device-private.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-26 17:43:48 +0200
committerKay Sievers <kay@vrfy.org>2012-04-26 17:43:48 +0200
commitc8f8394a9309d4390daac70b736b34d0b6734f95 (patch)
tree38432ff21ddd7f43c58638ae56ef9c4bdf38a234 /src/libudev/libudev-device-private.c
parente01a15b71e18bf2008aec7e75041ffa42eb80b80 (diff)
libudev: prefix log macros with 'udev_'
Diffstat (limited to 'src/libudev/libudev-device-private.c')
-rw-r--r--src/libudev/libudev-device-private.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libudev/libudev-device-private.c b/src/libudev/libudev-device-private.c
index 2c50e174c6..234773662b 100644
--- a/src/libudev/libudev-device-private.c
+++ b/src/libudev/libudev-device-private.c
@@ -122,7 +122,7 @@ int udev_device_update_db(struct udev_device *udev_device)
mkdir_parents(filename_tmp, 0755);
f = fopen(filename_tmp, "we");
if (f == NULL) {
- err(udev, "unable to create temporary db file '%s': %m\n", filename_tmp);
+ udev_err(udev, "unable to create temporary db file '%s': %m\n", filename_tmp);
return -1;
}
@@ -162,7 +162,7 @@ int udev_device_update_db(struct udev_device *udev_device)
fclose(f);
rename(filename_tmp, filename);
- dbg(udev, "created %s file '%s' for '%s'\n", has_info ? "db" : "empty",
+ udev_dbg(udev, "created %s file '%s' for '%s'\n", has_info ? "db" : "empty",
filename, udev_device_get_devpath(udev_device));
return 0;
}