diff options
| author | Aleksandr Rybalko <ray@FreeBSD.org> | 2014-05-08 22:52:05 +0000 |
|---|---|---|
| committer | Aleksandr Rybalko <ray@FreeBSD.org> | 2014-05-08 22:52:05 +0000 |
| commit | 16aa1f0950a3b4407a36ecc96acc8ca0710ebd91 (patch) | |
| tree | bd41c0810871a14568fef6d6042823e5760cf2eb /sys/dev/vt/vt_consolectl.c | |
| parent | 02e843636ab44cfd424d82c5e26399b5a72c8ab3 (diff) | |
Notes
Diffstat (limited to 'sys/dev/vt/vt_consolectl.c')
| -rw-r--r-- | sys/dev/vt/vt_consolectl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/vt/vt_consolectl.c b/sys/dev/vt/vt_consolectl.c index f9c451780fc77..df8b341d41323 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); } } |
