version 1.7, 2003/08/28 15:54:41 |
version 1.8, 2003/12/16 15:40:29 |
Line 104 main(argc, argv) |
|
Line 104 main(argc, argv) |
|
setpassent(1); /* Keep passwd file pointers open */ |
setpassent(1); /* Keep passwd file pointers open */ |
|
|
/* Process usernames given on the command line. */ |
/* Process usernames given on the command line. */ |
if (argc > 1) { |
if (argc > 0) { |
long offset; |
long offset; |
for (i = 1; i < argc; ++i) { |
for (i = 0; i < argc; i++) { |
if ((passwd = getpwnam(argv[i])) == NULL) { |
if ((passwd = getpwnam(argv[i])) == NULL) { |
warnx("user '%s' not found", argv[i]); |
warnx("user '%s' not found", argv[i]); |
continue; |
continue; |