aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2016-10-24 17:39:38 +0000
committerokan2016-10-24 17:39:38 +0000
commit0a160ce39b2682a3682e54a6aa8937d852c1adb1 (patch)
tree8487c4d1cbcf0b34fdc76f9574d45199d816d1c5 /screen.c
parent2e42cacbc2852535c15f8a6b7aaa7078d073ca26 (diff)
downloadcwm-0a160ce39b2682a3682e54a6aa8937d852c1adb1.tar.gz
Sprinkle __func__ in appropriate error messages.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 6af8c09..5eeb827 100644
--- a/screen.c
+++ b/screen.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: screen.c,v 1.83 2016/10/18 17:03:30 okan Exp $
+ * $OpenBSD: screen.c,v 1.84 2016/10/24 17:39:38 okan Exp $
*/
#include <sys/types.h>
@@ -101,7 +101,7 @@ screen_find(Window win)
if (sc->rootwin == win)
return(sc);
}
- warnx("screen_find failure win 0x%lu\n", win);
+ warnx("%s: failure win 0x%lu\n", __func__, win);
return(NULL);
}