diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-06 00:20:50 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-06 00:20:50 +0000 |
commit | a67c6273255c0357bf1e14ea35005b47c9a94e6c (patch) | |
tree | 34bce2531223bbc738b0c4e13fa25aeca2d1d79e /libc/sysdeps | |
parent | 42ee079162ef0aacb93181dcc0df86c9d33f75c5 (diff) |
Lots and lots of cleanups.
-Erik
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/Makefile | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/mkfifo.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/Makefile b/libc/sysdeps/linux/Makefile index a81bb9a21..16980d1b3 100644 --- a/libc/sysdeps/linux/Makefile +++ b/libc/sysdeps/linux/Makefile @@ -5,7 +5,7 @@ ARCH = $(shell uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/') all: $(ARCH) common $(ARCH): dummy - echo Building for ARCH=$(ARCH) + @echo Building for ARCH=$(ARCH) make -C $(ARCH) common: dummy 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); } |