From af9cbc126ca0554d1be8ed40198b7341721e1cca Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 1 Sep 2010 14:31:46 +0200 Subject: [PATCH] Use ELOG instead of DLOG for invalid config directives --- src/cfgparse.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.5