From f32f66a23bf8361fa650334d287e94c90b8c8f06 Mon Sep 17 00:00:00 2001 From: cgd Date: Wed, 24 Aug 1994 16:49:16 +0000 Subject: [PATCH] fix (bogus) default ioctl return. --- sys/dev/vn.c | 4 ++-- sys/dev/vnd.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/vn.c b/sys/dev/vn.c index 173cd603f3ae..69ef96c10052 100644 --- a/sys/dev/vn.c +++ b/sys/dev/vn.c @@ -1,4 +1,4 @@ -/* $NetBSD: vn.c,v 1.11 1994/06/29 06:31:35 cgd Exp $ */ +/* $NetBSD: vn.c,v 1.12 1994/08/24 16:49:16 cgd Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -432,7 +432,7 @@ vnioctl(dev, cmd, data, flag, p) break; default: - return(ENXIO); + return(ENOTTY); } return(0); } diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c index 08f8f94c7105..3013038a46a0 100644 --- a/sys/dev/vnd.c +++ b/sys/dev/vnd.c @@ -1,4 +1,4 @@ -/* $NetBSD: vnd.c,v 1.11 1994/06/29 06:31:35 cgd Exp $ */ +/* $NetBSD: vnd.c,v 1.12 1994/08/24 16:49:16 cgd Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -432,7 +432,7 @@ vnioctl(dev, cmd, data, flag, p) break; default: - return(ENXIO); + return(ENOTTY); } return(0); }