diff --git a/src/cfgparse.y b/src/cfgparse.y index 790ae3be..5c3c4a08 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -458,7 +458,7 @@ workspace: { int ws_num = $3; if (ws_num < 1) { - DLOG("Invalid workspace assignment, workspace number %d out of range\n", ws_num); + ELOG("Invalid workspace assignment, workspace number %d out of range\n", ws_num); } else { Workspace *ws = workspace_get(ws_num - 1); ws->preferred_output = $7; @@ -472,7 +472,7 @@ workspace: { int ws_num = $3; if (ws_num < 1) { - DLOG("Invalid workspace assignment, workspace number %d out of range\n", ws_num); + ELOG("Invalid workspace assignment, workspace number %d out of range\n", ws_num); } else { DLOG("workspace name to: %s\n", $5); if ($5 != NULL) { @@ -501,7 +501,7 @@ assign: struct Assignment *new = $6; if (new->floating != ASSIGN_FLOATING_ONLY && new->workspace < 1) { - DLOG("Invalid client assignment, workspace number %d out of range\n", new->workspace); + ELOG("Invalid client assignment, workspace number %d out of range\n", new->workspace); free(new); } else { DLOG(" to %d\n", new->workspace);