summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-09-09 13:24:26 +0000
committerdg <dg@FreeBSD.org>1994-09-09 13:24:26 +0000
commit0d2e67cf3e683eb82dbf4331136590f516a8af96 (patch)
tree51948a19b6eccd01f02418e637965f3e2c94f204 /sys
parentd3296d0014d0f25ae8b9b9c93f9849de9094e5cc (diff)
downloadFreeBSD-src-0d2e67cf3e683eb82dbf4331136590f516a8af96.zip
FreeBSD-src-0d2e67cf3e683eb82dbf4331136590f516a8af96.tar.gz
Relaxed panic in fdesc_setattr() to just return error.
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c4
-rw-r--r--sys/miscfs/fdesc/fdesc_vnops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 517e349..27e6d6f 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94
*
- * $Id: fdesc_vnops.c,v 1.2 1994/05/25 09:07:13 rgrimes Exp $
+ * $Id: fdesc_vnops.c,v 1.3 1994/09/09 13:23:20 davidg Exp $
*/
/*
@@ -520,7 +520,7 @@ fdesc_setattr(ap)
break;
default:
- panic("fdesc setattr");
+ error = EBADF;
break;
}
diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c
index 517e349..27e6d6f 100644
--- a/sys/miscfs/fdesc/fdesc_vnops.c
+++ b/sys/miscfs/fdesc/fdesc_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94
*
- * $Id: fdesc_vnops.c,v 1.2 1994/05/25 09:07:13 rgrimes Exp $
+ * $Id: fdesc_vnops.c,v 1.3 1994/09/09 13:23:20 davidg Exp $
*/
/*
@@ -520,7 +520,7 @@ fdesc_setattr(ap)
break;
default:
- panic("fdesc setattr");
+ error = EBADF;
break;
}
OpenPOWER on IntegriCloud