ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/saidar/saidar.c
(Generate patch)

Comparing projects/libstatgrab/src/saidar/saidar.c (file contents):
Revision 1.24 by tdb, Mon Jan 19 16:49:23 2004 UTC vs.
Revision 1.25 by tdb, Wed Jan 21 10:27:46 2004 UTC

# Line 448 | Line 448 | int main(int argc, char **argv){
448                  switch (c){
449                          case 'd':
450                                  delay = atoi(optarg);
451 <                                if (delay == 0){
451 >                                if (delay < 1){
452                                          fprintf(stderr, "Time must be 1 second or greater\n");
453                                          exit(1);
454                                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines