chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
606397d
)
[PATCH] get rid of annoying extra lines in the syslog for some libsysfs debug messages.
author
greg@kroah.com
<greg@kroah.com>
Fri, 8 Oct 2004 03:56:08 +0000
(20:56 -0700)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:37:03 +0000
(21:37 -0700)
libsysfs/sysfs_utils.c
patch
|
blob
|
history
diff --git
a/libsysfs/sysfs_utils.c
b/libsysfs/sysfs_utils.c
index 492c7fa668e5dd3ec445d29085e6ce70ab05f091..f65e5df3aac705525f82180bebc9f3932b4abe6d 100644
(file)
--- 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))