projects
/
platform
/
upstream
/
avahi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82afdb2
)
systemd: update sd-daemon.[ch]
author
Lennart Poettering
<lennart@poettering.net>
Sat, 10 Jul 2010 14:01:35 +0000
(16:01 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 10 Jul 2010 14:01:35 +0000
(16:01 +0200)
avahi-daemon/sd-daemon.c
patch
|
blob
|
history
diff --git
a/avahi-daemon/sd-daemon.c
b/avahi-daemon/sd-daemon.c
index
cb568b5
..
5df70e3
100644
(file)
--- a/
avahi-daemon/sd-daemon.c
+++ b/
avahi-daemon/sd-daemon.c
@@
-141,7
+141,7
@@
int sd_is_fifo(int fd, const char *path) {
struct stat st_path;
memset(&st_path, 0, sizeof(st_path));
- if (
fstat(fd
, &st_path) < 0) {
+ if (
stat(path
, &st_path) < 0) {
if (errno == ENOENT || errno == ENOTDIR)
return 0;