Fix trace logging assert crash

Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
pull/201/head
Jim Ramsay 2022-12-09 02:43:03 -05:00
parent 43e3015af6
commit 2a9e3dac58
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ int output_set_power_state(struct output* output, enum output_power_state state)
errno = ENOENT;
return -1;
}
nvnc_log(NVNC_LOG_TRACE, "Output %s requesting power %s", output->name,
nvnc_trace("Output %s requesting power %s", output->name,
output_power_state_name(state));
int mode = (state == OUTPUT_POWER_ON) ? ZWLR_OUTPUT_POWER_V1_MODE_ON :
ZWLR_OUTPUT_POWER_V1_MODE_OFF;