Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
use errx() instead of err() for custom error message
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Aug 12, 2012
1 parent 68a23b9 commit dbe4066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display_version.c
Expand Up @@ -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");
Expand Down

0 comments on commit dbe4066

Please sign in to comment.