]> granicus.if.org Git - procps-ng/commitdiff
whattime: Fix formatting
authorKyle Laker <lakerka@dukes.jmu.edu>
Thu, 23 Mar 2017 17:26:46 +0000 (13:26 -0400)
committerCraig Small <csmall@enc.com.au>
Sat, 23 Sep 2017 07:32:29 +0000 (17:32 +1000)
Update formatting within the if block to two spaces

proc/whattime.c

index 10e78c3f3de5d8c36cc3f702976192d9393c002b..f55f36365bb6ef604241cb21d50a1664e5ee88f0 100644 (file)
@@ -147,9 +147,9 @@ char *sprint_uptime(int human_readable) {
     }
 
     if (upminutes || (!upminutes && uptime_secs < 60)) {
-        pos += sprintf(buf + pos, "%s%d %s", comma > 0 ? ", " : "", upminutes,
-                       upminutes != 1 ? "minutes" : "minute");
-        comma += 1;
+      pos += sprintf(buf + pos, "%s%d %s", comma > 0 ? ", " : "", upminutes,
+                     upminutes != 1 ? "minutes" : "minute");
+      comma += 1;
     }
   }