diff options
Diffstat (limited to 'usr/src/cmd/logadm/main.c')
-rw-r--r-- | usr/src/cmd/logadm/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/logadm/main.c b/usr/src/cmd/logadm/main.c index 3c959841f5..a2884b9321 100644 --- a/usr/src/cmd/logadm/main.c +++ b/usr/src/cmd/logadm/main.c @@ -162,7 +162,7 @@ static struct lut *Gzipnames = NULL; int main(int argc, char *argv[]) { - struct opts *clopts = NULL; /* from parsing command line */ + struct opts *clopts; /* from parsing command line */ const char *conffile; /* our configuration file */ const char *timestamps; /* our timestamps file */ struct fn_list *lognames; /* list of lognames we're processing */ @@ -1130,7 +1130,7 @@ docopytruncate(struct opts *opts, const char *file, const char *file_copy) struct stat s; struct utimbuf times; off_t written = 0, rem, last = 0, thresh = 1024 * 1024; - ssize_t len = 0; + ssize_t len; /* print info if necessary */ if (opts_count(opts, "vn") != 0) { |