summaryrefslogtreecommitdiffstats
path: root/sys/dev/vt/vt_consolectl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vt/vt_consolectl.c')
-rw-r--r--sys/dev/vt/vt_consolectl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/vt/vt_consolectl.c b/sys/dev/vt/vt_consolectl.c
index f9c4517..df8b341 100644
--- a/sys/dev/vt/vt_consolectl.c
+++ b/sys/dev/vt/vt_consolectl.c
@@ -61,8 +61,10 @@ consolectl_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag,
return (0);
}
default:
+#ifdef VT_CONSOLECTL_DEBUG
printf("consolectl: unknown ioctl: %c:%lx\n",
(char)IOCGROUP(cmd), IOCBASECMD(cmd));
+#endif
return (ENOIOCTL);
}
}
OpenPOWER on IntegriCloud