diff options
author | Stu Zhao <z12y12l12@gmail.com> | 2016-10-23 15:20:31 -0400 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2016-10-23 21:20:31 +0200 |
commit | 707ceffc8b556a3797651d78c0c0f37bae9884ea (patch) | |
tree | c15ff50ae5ed18a0adf41e3661be305556f6428b /i3status.c | |
parent | 8d2ef5f99b2ebc08a0a9d1f26492094692b1fc6b (diff) |
Detect batteries using glob (#163)
Diffstat (limited to 'i3status.c')
-rw-r--r-- | i3status.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ static void *scalloc(size_t size) { return result; } -static char *sstrdup(const char *str) { +char *sstrdup(const char *str) { char *result = strdup(str); exit_if_null(result, "Error: out of memory (strdup())\n"); return result; |