From d585239e808b5637823bedfe9f65d673265fa835 Mon Sep 17 00:00:00 2001 From: midipix Date: Jun 27 2020 22:51:31 +0000 Subject: service: ioctl: added TOKS_IOCTL_{GET|SET}_LOG_LEVEL support. --- diff --git a/src/service/toks_service_ioctl.c b/src/service/toks_service_ioctl.c index ee59bcd..31fad83 100644 --- a/src/service/toks_service_ioctl.c +++ b/src/service/toks_service_ioctl.c @@ -34,6 +34,7 @@ int32_t toks_service_ioctl( switch (ctlcode) { case TOKS_IOCTL_SET_TOKEN_COUNT: + case TOKS_IOCTL_SET_LOG_LEVEL: msg.data.ttyinfo.exarg = (void *)(intptr_t)*data; break; @@ -50,6 +51,7 @@ int32_t toks_service_ioctl( switch (ctlcode) { case TOKS_IOCTL_GET_TOKEN_COUNT: + case TOKS_IOCTL_GET_LOG_LEVEL: *data = (int)(intptr_t)msg.data.ttyinfo.exarg; break;