diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-14 13:43:55 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-14 13:43:55 +0000 |
commit | 43e9f39c3b0e4f3566311ebdff8fba53aa6f1c92 (patch) | |
tree | f9f9a5bfa5bcb5d8f22706da343a4a3395577882 /sys/miscfs | |
parent | ecdc0d2f70f7c12c67aac0e0c251ec4fe04b1ab6 (diff) |
gc OLD_PIPE.
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index 0bb6d1acb90..163f1ed1a0f 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdesc_vnops.c,v 1.18 2001/05/14 11:04:05 art Exp $ */ +/* $OpenBSD: fdesc_vnops.c,v 1.19 2001/05/14 13:43:54 art Exp $ */ /* $NetBSD: fdesc_vnops.c,v 1.32 1996/04/11 11:24:29 mrg Exp $ */ /* @@ -489,9 +489,6 @@ fdesc_attr(fd, vap, cred, p) break; case DTYPE_PIPE: -#ifdef OLD_PIPE - error = 0; -#else error = pipe_stat(fp, &stb, p); if (error == 0) { vattr_null(vap); @@ -512,7 +509,6 @@ fdesc_attr(fd, vap, cred, p) vap->va_rdev = stb.st_rdev; vap->va_bytes = stb.st_blocks * stb.st_blksize; } -#endif break; default: |