diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/free.c | 2 | ||||
-rw-r--r-- | procps/ps.c | 2 | ||||
-rw-r--r-- | procps/uptime.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/procps/free.c b/procps/free.c index e6f130ea9..a81189be9 100644 --- a/procps/free.c +++ b/procps/free.c | |||
@@ -59,5 +59,5 @@ extern int free_main(int argc, char **argv) | |||
59 | printf("%6s%13ld%13ld%13ld\n", "Total:", info.totalram+info.totalswap, | 59 | printf("%6s%13ld%13ld%13ld\n", "Total:", info.totalram+info.totalswap, |
60 | (info.totalram-info.freeram)+(info.totalswap-info.freeswap), | 60 | (info.totalram-info.freeram)+(info.totalswap-info.freeswap), |
61 | info.freeram+info.freeswap); | 61 | info.freeram+info.freeswap); |
62 | exit(TRUE); | 62 | return(TRUE); |
63 | } | 63 | } |
diff --git a/procps/ps.c b/procps/ps.c index 41b8465bd..13b6ce541 100644 --- a/procps/ps.c +++ b/procps/ps.c | |||
@@ -192,7 +192,7 @@ extern int ps_main(int argc, char **argv) | |||
192 | fprintf(stdout, "\n"); | 192 | fprintf(stdout, "\n"); |
193 | } | 193 | } |
194 | closedir(dir); | 194 | closedir(dir); |
195 | exit(TRUE); | 195 | return(TRUE); |
196 | } | 196 | } |
197 | 197 | ||
198 | 198 | ||
diff --git a/procps/uptime.c b/procps/uptime.c index af54158c9..67ca34d75 100644 --- a/procps/uptime.c +++ b/procps/uptime.c | |||
@@ -69,5 +69,5 @@ extern int uptime_main(int argc, char **argv) | |||
69 | LOAD_INT(info.loads[1]), LOAD_FRAC(info.loads[1]), | 69 | LOAD_INT(info.loads[1]), LOAD_FRAC(info.loads[1]), |
70 | LOAD_INT(info.loads[2]), LOAD_FRAC(info.loads[2])); | 70 | LOAD_INT(info.loads[2]), LOAD_FRAC(info.loads[2])); |
71 | 71 | ||
72 | exit(TRUE); | 72 | return(TRUE); |
73 | } | 73 | } |