summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-29 11:36:47 +0000
committerjkh <jkh@FreeBSD.org>1995-04-29 11:36:47 +0000
commit7c335c5e6ec6dcd17d7ed822528d0766a64e4d1a (patch)
tree2e0d82bf2d1b2e748cf90056e6abb08b198a1ec0 /sys
parent9684e60aa333602d99d67bf4386e5ea09dd26530 (diff)
downloadFreeBSD-src-7c335c5e6ec6dcd17d7ed822528d0766a64e4d1a.zip
FreeBSD-src-7c335c5e6ec6dcd17d7ed822528d0766a64e4d1a.tar.gz
Bruce is right - ENOTTY is more appropriate than EINVAL in this case.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c
index 8ae51a9..394bf9f 100644
--- a/sys/kern/subr_log.c
+++ b/sys/kern/subr_log.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)subr_log.c 8.1 (Berkeley) 6/10/93
- * $Id: subr_log.c,v 1.5 1994/10/02 17:35:22 phk Exp $
+ * $Id: subr_log.c,v 1.6 1995/04/29 05:09:19 jkh Exp $
*/
/*
@@ -234,7 +234,7 @@ logioctl(dev, com, data, flag, p)
break;
default:
- return (EINVAL);
+ return (ENOTTY);
}
return (0);
}
OpenPOWER on IntegriCloud