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); }