summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actions.c2
-rw-r--r--src/bar.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c
index 216432c..332f5b8 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -2324,7 +2324,7 @@ command (int interactive, char *data)
rest = strtok (NULL, "\0");
- PRINT_DEBUG (("cmd==%s rest==%s\n", cmd, rest));
+ PRINT_DEBUG (("cmd==%s rest==%s\n", cmd, rest?rest:"NULL"));
/* Look for it in the aliases, first. */
for (i=0; i<alias_list_last; i++)
diff --git a/src/bar.c b/src/bar.c
index c54c627..a44ef5c 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -495,7 +495,7 @@ marked_message (char *msg, int mark_start, int mark_end)
int width;
int height;
- PRINT_DEBUG (("msg = %s\n", msg));
+ PRINT_DEBUG (("msg = %s\n", msg?msg:"NULL"));
PRINT_DEBUG (("mark_start = %d, mark_end = %d\n", mark_start, mark_end));
/* Schedule the bar to be hidden after some amount of time. */