-/* $OpenBSD: mem.c,v 1.34 2018/02/19 08:59:52 mpi Exp $ */
+/* $OpenBSD: mem.c,v 1.35 2024/06/23 22:08:37 kettenis Exp $ */
/* $NetBSD: mem.c,v 1.26 2000/03/29 03:48:20 simonb Exp $ */
/*
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
-/* $OpenBSD: mem.c,v 1.35 2021/03/24 14:26:39 bluhm Exp $ */
+/* $OpenBSD: mem.c,v 1.36 2024/06/23 22:08:37 kettenis Exp $ */
/*
* Copyright (c) 1988 University of Utah.
* Copyright (c) 1982, 1986, 1990, 1993
return mem_ioctl(dev, cmd, data, flags, p);
}
#endif
- return (ENODEV);
+ return (ENOTTY);
}
#ifdef MTRR
-/* $OpenBSD: mem.c,v 1.23 2021/03/25 04:12:00 jsg Exp $ */
+/* $OpenBSD: mem.c,v 1.24 2024/06/23 22:08:37 kettenis Exp $ */
/* $NetBSD: mem.c,v 1.11 2003/10/16 12:02:58 jdolecek Exp $ */
/*
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
-/* $OpenBSD: mem.c,v 1.6 2018/05/04 15:45:11 visa Exp $ */
+/* $OpenBSD: mem.c,v 1.7 2024/06/23 22:08:37 kettenis Exp $ */
/* $NetBSD: mem.c,v 1.11 2003/10/16 12:02:58 jdolecek Exp $ */
/*
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
-/* $OpenBSD: mem.c,v 1.6 2022/03/13 08:04:38 mpi Exp $ */
+/* $OpenBSD: mem.c,v 1.7 2024/06/23 22:08:37 kettenis Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
/* $NetBSD: mem.c,v 1.31 1996/05/03 19:42:19 christos Exp $ */
-/* $OpenBSD: mem.c,v 1.56 2023/03/08 04:43:07 guenther Exp $ */
+/* $OpenBSD: mem.c,v 1.57 2024/06/23 22:08:37 kettenis Exp $ */
/*
* Copyright (c) 1988 University of Utah.
* Copyright (c) 1982, 1986, 1990, 1993
return mem_ioctl(dev, cmd, data, flags, p);
}
#endif
- return (ENODEV);
+ return (ENOTTY);
}
#ifdef MTRR
-/* $OpenBSD: mem.c,v 1.6 2017/12/14 03:30:43 guenther Exp $ */
+/* $OpenBSD: mem.c,v 1.7 2024/06/23 22:08:37 kettenis Exp $ */
/*
* Copyright (c) 1988 University of Utah.
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
-/* $OpenBSD: mem.c,v 1.28 2022/03/13 12:33:01 mpi Exp $ */
+/* $OpenBSD: mem.c,v 1.29 2024/06/23 22:08:37 kettenis Exp $ */
/* $NetBSD: mem.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */
/*
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
-/* $OpenBSD: mem.c,v 1.24 2019/12/20 13:34:41 visa Exp $ */
+/* $OpenBSD: mem.c,v 1.25 2024/06/23 22:08:37 kettenis Exp $ */
/* $NetBSD: mem.c,v 1.6 1995/04/10 11:55:03 mycroft Exp $ */
/*
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
-/* $OpenBSD: mem.c,v 1.1 2020/06/27 21:22:30 kettenis Exp $ */
+/* $OpenBSD: mem.c,v 1.2 2024/06/23 22:08:37 kettenis Exp $ */
/*
* Copyright (c) 1988 University of Utah.
return 0;
}
- return (ENODEV);
+ return (ENOTTY);
}
-/* $OpenBSD: mem.c,v 1.5 2021/05/19 20:35:02 deraadt Exp $ */
+/* $OpenBSD: mem.c,v 1.6 2024/06/23 22:08:37 kettenis Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
-/* $OpenBSD: mem.c,v 1.11 2018/02/19 08:59:52 mpi Exp $ */
+/* $OpenBSD: mem.c,v 1.12 2024/06/23 22:08:37 kettenis Exp $ */
/* $NetBSD: mem.c,v 1.21 2006/07/23 22:06:07 ad Exp $ */
/*
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
/*
-/* $OpenBSD: mem.c,v 1.20 2020/05/17 11:12:55 kn Exp $ */
+/* $OpenBSD: mem.c,v 1.21 2024/06/23 22:08:37 kettenis Exp $ */
/* $NetBSD: mem.c,v 1.18 2001/04/24 04:31:12 thorpej Exp $ */
/*
return 0;
}
- return (EOPNOTSUPP);
+ return (ENOTTY);
}
-