diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/shmctl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/util/shmctl.c b/util/shmctl.c index 16fb4414..0822447b 100644 --- a/util/shmctl.c +++ b/util/shmctl.c @@ -457,13 +457,14 @@ int utmpsortd(int argc, char **argv) return 0; } -#ifndef VALGRIND - setproctitle("shmctl utmpsortd"); -#endif if( argc < 2 || (interval = atoi(argv[1])) < 500000 ) interval = 1000000; // default to 1 sec sortall = ((argc < 3) ? 1 : atoi(argv[2])); +#ifndef VALGRIND + setproctitle("shmctl utmpsortd"); +#endif + while( 1 ){ if( (pid = fork()) != 0 ){ int s; |