diff options
Diffstat (limited to 'procps/ps.c')
-rw-r--r-- | procps/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/ps.c b/procps/ps.c index 92608b114..9d6e42d79 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -64,7 +64,7 @@ int ps_main(int argc, char **argv) if (sid) { /* I assume sid initialized with NULL */ - len = strlen(sid)+1; + len = strlen(sid) + 1; safe_strncpy(sbuf, sid, len); freecon(sid); sid = NULL; |