diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-10 16:01:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-10 16:01:35 +0200 |
commit | bd64dc62908c0676d27c24151382a220a280ab23 (patch) | |
tree | c5104335cf2bef86925007ea8067cad1d4148c77 /avahi-daemon | |
parent | 82afdb286b9f7088986629cb4fde0c76583d85b4 (diff) |
systemd: update sd-daemon.[ch]
Diffstat (limited to 'avahi-daemon')
-rw-r--r-- | avahi-daemon/sd-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-daemon/sd-daemon.c b/avahi-daemon/sd-daemon.c index cb568b5..5df70e3 100644 --- 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; |