summaryrefslogtreecommitdiff
path: root/src/minutils/s6ps_statparse.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-09-10 13:42:04 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-09-10 13:42:04 +0000
commit5928bf00c094a250c3d9cc4346075cd65c87e865 (patch)
treed9d00749c1ea23c6df7af35be5517631830d1cb4 /src/minutils/s6ps_statparse.c
parenta19ce7bb451236b79ac79d7ffc8e8fa12323ea0d (diff)
downloads6-linux-utils-5928bf00c094a250c3d9cc4346075cd65c87e865.tar.xz
Remove s6-halt, s6-poweroff and s6-reboot (moved to the s6-linux-init package)
Diffstat (limited to 'src/minutils/s6ps_statparse.c')
-rw-r--r--src/minutils/s6ps_statparse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/minutils/s6ps_statparse.c b/src/minutils/s6ps_statparse.c
index b5976a1..d8bc39e 100644
--- a/src/minutils/s6ps_statparse.c
+++ b/src/minutils/s6ps_statparse.c
@@ -149,7 +149,8 @@ int s6ps_statparse (pscan_t *p)
if (pos + 1 > p->statlen) return 0 ;
if (p->data.s[pos++] != ' ') return 0 ;
w = (*scanfuncs[i])(p->data.s + pos, scanresults[i]) ;
- if (!w) return 0 ; pos += w ;
+ if (!w) return 0 ;
+ pos += w ;
}
return 1 ;
}