aboutsummaryrefslogtreecommitdiffstats
path: root/guts
diff options
context:
space:
mode:
Diffstat (limited to 'guts')
-rw-r--r--guts/mkfifoat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/guts/mkfifoat.c b/guts/mkfifoat.c
index b1053f1..26fcba3 100644
--- a/guts/mkfifoat.c
+++ b/guts/mkfifoat.c
@@ -6,8 +6,9 @@
* wrap_mkfifoat(int dirfd, const char *path, mode_t mode) {
* int rc = -1;
*/
+ dev_t unused = 0;
- rc = wrap___xmknodat(_STAT_VER, dirfd, path, (mode & 07777) | S_IFIFO, 0);
+ rc = wrap___xmknodat(_STAT_VER, dirfd, path, (mode & 07777) | S_IFIFO, &unused);
/* return rc;
* }