]> err.no Git - systemd/commit
sd-daemon: Fix path check in sd_is_fifo()
authorMartin Mikkelsen <mamikk@mamikk.no>
Tue, 6 Jul 2010 21:27:56 +0000 (23:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 6 Jul 2010 23:41:59 +0000 (01:41 +0200)
commitfd8bccfbf9e50a7a0a209867130aac434e0754e7
tree58a85ad5a278461b5875a178ccf398b4829a1b31
parentf3e219a238c716ffa06fab7b0618197c090dfd5a
sd-daemon: Fix path check in sd_is_fifo()

sd_is_fifo() did fstat on the file descriptor twice instead of stating
the supplied path.
src/sd-daemon.c