# | Line 351 | Line 351 | diskio_stat_t *get_diskio_stats(int *entries){ | |
---|---|---|
351 | #ifdef FREEBSD | |
352 | if (!stats_init) { | |
353 | stats.dinfo=malloc(sizeof(struct devinfo)); | |
354 | – | bzero(stats.dinfo, sizeof(struct devinfo)); |
354 | if(stats.dinfo==NULL) return NULL; | |
355 | + | bzero(stats.dinfo, sizeof(struct devinfo)); |
356 | stats_init = 1; | |
357 | } | |
358 | #ifdef FREEBSD5 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |