diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bootchart/bootchart.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c index 37d8fbe6e9..f1b0e58c69 100644 --- a/src/bootchart/bootchart.c +++ b/src/bootchart/bootchart.c @@ -75,13 +75,11 @@ int main(int argc, char *argv[]) struct ps_struct *ps; char output_file[PATH_MAX]; char datestr[200]; - time_t t; + time_t t = 0; FILE *f; int gind; int i; - memset(&t, 0, sizeof(time_t)); - rlim.rlim_cur = 4096; rlim.rlim_max = 4096; (void) setrlimit(RLIMIT_NOFILE, &rlim); |