diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-11-28 14:26:31 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-11-28 14:26:31 +0100 |
commit | ff49bc3212cb07d850dcfd59940539773a0be26f (patch) | |
tree | 4d4209e4d84d6ca4533a103765d58cc9e429ea3d /src/libudev/libudev-util.c | |
parent | c95f97a20f3b854109dc564da64950067b388aeb (diff) |
treewide: drop unnecessary trailing \n in log_*() calls
Diffstat (limited to 'src/libudev/libudev-util.c')
-rw-r--r-- | src/libudev/libudev-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libudev/libudev-util.c b/src/libudev/libudev-util.c index 361c21f4c9..291829e6d8 100644 --- a/src/libudev/libudev-util.c +++ b/src/libudev/libudev-util.c @@ -93,7 +93,7 @@ int util_resolve_subsys_kernel(struct udev *udev, const char *string, strscpy(result, maxsize, val); else result[0] = '\0'; - log_debug("value '[%s/%s]%s' is '%s'\n", subsys, sysname, attr, result); + log_debug("value '[%s/%s]%s' is '%s'", subsys, sysname, attr, result); } else { size_t l; char *s; @@ -102,7 +102,7 @@ int util_resolve_subsys_kernel(struct udev *udev, const char *string, l = strpcpyl(&s, maxsize, udev_device_get_syspath(dev), NULL); if (attr != NULL) strpcpyl(&s, l, "/", attr, NULL); - log_debug("path '[%s/%s]%s' is '%s'\n", subsys, sysname, attr, result); + log_debug("path '[%s/%s]%s' is '%s'", subsys, sysname, attr, result); } udev_device_unref(dev); return 0; |