summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mkfifo.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-06 00:20:50 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-06 00:20:50 +0000
commita67c6273255c0357bf1e14ea35005b47c9a94e6c (patch)
tree34bce2531223bbc738b0c4e13fa25aeca2d1d79e /libc/sysdeps/linux/common/mkfifo.c
parent42ee079162ef0aacb93181dcc0df86c9d33f75c5 (diff)
Lots and lots of cleanups.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/common/mkfifo.c')
-rw-r--r--libc/sysdeps/linux/common/mkfifo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/mkfifo.c b/libc/sysdeps/linux/common/mkfifo.c
index dbaa9aa3b..876f36b5a 100644
--- a/libc/sysdeps/linux/common/mkfifo.c
+++ b/libc/sysdeps/linux/common/mkfifo.c
@@ -29,6 +29,5 @@
int
mkfifo (const char *path, mode_t mode)
{
- dev_t dev = 0;
- return mknod (path, mode | S_IFIFO, &dev);
+ return mknod (path, mode | S_IFIFO, 0);
}