From: Michael Stapelberg Date: Sun, 12 Aug 2012 16:34:03 +0000 (+0200) Subject: use errx() instead of err() for custom error message X-Git-Tag: 4.3~103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dbe406641fcc4fb0c55f82d10d27134c095547b7;p=i3%2Fi3 use errx() instead of err() for custom error message --- diff --git a/src/display_version.c b/src/display_version.c index 669e7c7d..7460a1a2 100644 --- a/src/display_version.c +++ b/src/display_version.c @@ -120,7 +120,7 @@ void display_running_version(void) { yajl_status state = yajl_parse(handle, (const unsigned char*)reply, (int)reply_length); if (state != yajl_status_ok) - err(EXIT_FAILURE, "Could not parse my own reply. That's weird. reply is %.*s", (int)reply_length, reply); + errx(EXIT_FAILURE, "Could not parse my own reply. That's weird. reply is %.*s", (int)reply_length, reply); printf("\rRunning i3 version: %s (pid %s)\n", human_readable_version, pid_from_atom); printf("\n");