use errx() instead of err() for custom error message

This commit is contained in:
Michael Stapelberg 2012-08-12 18:34:03 +02:00
parent 68a23b9577
commit dbe406641f
1 changed files with 1 additions and 1 deletions

View File

@ -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");