# | 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 396 | Line 396 | diskio_stat_t *get_diskio_stats(int *entries){ | |
396 | f=fopen("/proc/stat", "r"); | |
397 | if(f==NULL){ | |
398 | *entries=0; | |
399 | – | fclose(f); |
399 | return NULL; | |
400 | } | |
401 | if((line_ptr=f_read_line(f, "disk_io:"))==NULL){ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |