X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=libsysfs%2Fsysfs_utils.c;h=f65e5df3aac705525f82180bebc9f3932b4abe6d;hb=da767d0739c86a04a0c0326cebff6c08ffe1228c;hp=492c7fa668e5dd3ec445d29085e6ce70ab05f091;hpb=656703759d7d3eac6e8c86f1121cde7dfd6d8cbd;p=elogind.git diff --git a/libsysfs/sysfs_utils.c b/libsysfs/sysfs_utils.c index 492c7fa66..f65e5df3a 100644 --- a/libsysfs/sysfs_utils.c +++ b/libsysfs/sysfs_utils.c @@ -454,7 +454,7 @@ int sysfs_path_is_link(const char *path) return 1; } if ((lstat(path, &astats)) != 0) { - dprintf("stat() failed\n"); + dprintf("stat() failed"); return 1; } if (S_ISLNK(astats.st_mode)) @@ -477,7 +477,7 @@ int sysfs_path_is_file(const char *path) return 1; } if ((lstat(path, &astats)) != 0) { - dprintf("stat() failed\n"); + dprintf("stat() failed"); return 1; } if (S_ISREG(astats.st_mode))