summary refs log tree commit diff
path: root/search.c
diff options
context:
space:
mode:
authorokan <okan>2016-10-24 17:39:38 +0000
committerokan <okan>2016-10-24 17:39:38 +0000
commiteb43101591ca45754f4805dd1f7101c79a487ddb (patch)
tree9ad7ed4b8fd6740bd513978cdc3b801c080040c9 /search.c
parentffd60b3cabc361f9432c863ff58e823db5b7aa14 (diff)
downloadcwm-eb43101591ca45754f4805dd1f7101c79a487ddb.tar.gz
cwm-eb43101591ca45754f4805dd1f7101c79a487ddb.tar.xz
cwm-eb43101591ca45754f4805dd1f7101c79a487ddb.zip
Sprinkle __func__ in appropriate error messages.
Diffstat (limited to 'search.c')
-rw-r--r--search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.c b/search.c
index 9ca4e5d..da05ae8 100644
--- a/search.c
+++ b/search.c
@@ -85,7 +85,7 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search)
 			tier--;
 
 		if (tier >= nitems(tierp))
-			errx(1, "search_match_client: invalid tier");
+			errx(1, "%s: invalid tier", __func__);
 
 		/*
 		 * If you have a tierp, insert after it, and make it