out = write_total();
tsize = total_size;
} else {
- in = read_longint(f);
out = read_longint(f);
+ in = read_longint(f);
tsize = read_longint(f);
}
starttime = time(NULL);
am_root = (getuid() == 0);
+ if (argc < 2) {
+ usage(FERROR);
+ exit(1);
+ }
+
/* we set a 0 umask so that correct file permissions can be
carried across */
orig_umask = (int)umask(0);