[hackers] [slstatus] uptime: Add missing brace || Aaron Marcher

From: <git_AT_suckless.org>
Date: Wed, 2 May 2018 12:09:41 +0200 (CEST)

commit 54ebd0dabe3594072c1920ecbbebae390aa186ce
Author: Aaron Marcher <me_AT_drkhsh.at>
AuthorDate: Wed May 2 12:08:54 2018 +0200
Commit: Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Wed May 2 12:08:54 2018 +0200

    uptime: Add missing brace

diff --git a/components/uptime.c b/components/uptime.c
index 19908b9..f662b40 100644
--- a/components/uptime.c
+++ b/components/uptime.c
_AT_@ -49,7 +49,7 @@ format(int uptime)
 
                 size = sizeof(boottime);
 
- if (sysctl(mib, 2, &boottime, &size, NULL, 0) == -1)
+ if (sysctl(mib, 2, &boottime, &size, NULL, 0) == -1) {
                         fprintf(stderr, "sysctl 'KERN_BOOTTIME': %s\n", strerror(errno));
                         return NULL;
                 }
Received on Wed May 02 2018 - 12:09:41 CEST

This archive was generated by hypermail 2.3.0 : Wed May 02 2018 - 12:12:32 CEST