summaryrefslogtreecommitdiffstats
path: root/sys/dev/null
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/null')
-rw-r--r--sys/dev/null/null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/null/null.c b/sys/dev/null/null.c
index 6fa5e2b..c82c3d0 100644
--- a/sys/dev/null/null.c
+++ b/sys/dev/null/null.c
@@ -97,7 +97,7 @@ null_ioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct thread *td)
{
int error;
- if (cmd != DIOCGKERNELDUMP)
+ if (cmd != DIOCSKERNELDUMP)
return (noioctl(dev, cmd, data, fflag, td));
error = suser(td);
if (error)
OpenPOWER on IntegriCloud