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

Comparing projects/libstatgrab/examples/disk_traffic.c (file contents):
Revision 1.1 by pajs, Thu Jun 5 15:38:44 2003 UTC vs.
Revision 1.3 by ats, Fri Nov 7 18:43:56 2003 UTC

# Line 1 | Line 1
1   /*
2   * i-scream central monitoring system
3 < * http://www.i-scream.org.uk
4 < * Copyright (C) 2000-2002 i-scream
3 > * http://www.i-scream.org
4 > * Copyright (C) 2000-2003 i-scream
5   *
6   * This program is free software; you can redistribute it and/or
7   * modify it under the terms of the GNU General Public License
# Line 51 | Line 51 | int main(int argc, char **argv){
51          int num_diskio_stats;
52  
53          /* Parse command line options */
54 <        while ((c = getopt(argc, argv, "d:bkm")) != EOF){
54 >        while ((c = getopt(argc, argv, "d:bkm")) != -1){
55                  switch (c){
56                          case 'd':
57                                  delay = atoi(optarg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines