summaryrefslogtreecommitdiff
path: root/libsysfs
diff options
context:
space:
mode:
Diffstat (limited to 'libsysfs')
-rw-r--r--libsysfs/sysfs_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsysfs/sysfs_utils.c b/libsysfs/sysfs_utils.c
index 492c7fa668..f65e5df3aa 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))