commit: 220365f77ba6f8aa36f21e2605b5e044989c1053
parent: 7a5920fdb81ad5d2347b813cf9223119e9c6177d
author: Chris Noxz <chris@noxz.tech>
date: Thu, 3 Jan 2019 14:20:23 +0100
Minor formatting
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ztatus.c b/ztatus.c
@@ -329,7 +329,10 @@ check_proc(struct dirent *e)
l = ftell(fptr);
fclose(fptr);
if (l - 1 > strlen(cmdline))
- memmove(cmdline, cmdline + strlen(cmdline)+1, l - strlen(cmdline));
+ memmove(
+ cmdline,
+ cmdline + strlen(cmdline) + 1,
+ l - strlen(cmdline));
if (strcmp(cmdline, "-d") == 0)
return pid;
}