-/* $OpenBSD: ami.c,v 1.233 2017/04/08 02:57:24 deraadt Exp $ */
+/* $OpenBSD: ami.c,v 1.234 2018/08/14 05:22:21 jmatthew Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
default:
AMI_DPRINTF(AMI_D_IOCTL, (" invalid ioctl\n"));
- error = EINVAL;
+ error = ENOTTY;
}
return (error);
-/* $OpenBSD: gdt_common.c,v 1.63 2014/07/08 17:19:25 deraadt Exp $ */
+/* $OpenBSD: gdt_common.c,v 1.64 2018/08/14 05:22:21 jmatthew Exp $ */
/*
* Copyright (c) 1999, 2000, 2003 Niklas Hallqvist. All rights reserved.
default:
GDT_DPRINTF(GDT_D_IOCTL, (" invalid ioctl\n"));
- error = EINVAL;
+ error = ENOTTY;
}
return (error);
-/* $OpenBSD: mfi.c,v 1.168 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: mfi.c,v 1.169 2018/08/14 05:22:21 jmatthew Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
default:
DNPRINTF(MFI_D_IOCTL, " invalid ioctl\n");
- error = EINVAL;
+ error = ENOTTY;
}
rw_exit_write(&sc->sc_lock);
-/* $OpenBSD: mpi.c,v 1.205 2016/08/17 01:02:31 krw Exp $ */
+/* $OpenBSD: mpi.c,v 1.206 2018/08/14 05:22:21 jmatthew Exp $ */
/*
* Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org>
default:
DNPRINTF(MPI_D_IOCTL, " invalid ioctl\n");
- error = EINVAL;
+ error = ENOTTY;
}
rw_exit_write(&sc->sc_lock);
-/* $OpenBSD: mfii.c,v 1.57 2018/06/08 07:14:02 jmatthew Exp $ */
+/* $OpenBSD: mfii.c,v 1.58 2018/08/14 05:22:21 jmatthew Exp $ */
/*
* Copyright (c) 2012 David Gwynne <dlg@openbsd.org>
default:
DNPRINTF(MFII_D_IOCTL, " invalid ioctl\n");
- error = EINVAL;
+ error = ENOTTY;
}
rw_exit_write(&sc->sc_lock);
-/* $OpenBSD: mpii.c,v 1.114 2018/06/19 10:32:41 jmatthew Exp $ */
+/* $OpenBSD: mpii.c,v 1.115 2018/08/14 05:22:21 jmatthew Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
break;
default:
DNPRINTF(MPII_D_IOCTL, " invalid ioctl\n");
- error = EINVAL;
+ error = ENOTTY;
}
return (error);