wmifs: Fix typo

This commit is contained in:
Doug Torrance 2018-06-27 18:35:49 -04:00 committed by Carlos R. Mafra
parent 08ef4bc3ab
commit ef01bf26b7

View file

@ -765,7 +765,7 @@ int get_statistics(char *devname, long *ip, long *op, long *is, long *os)
/* Read from /proc/net/dev the stats! */
fp = fopen("/proc/net/dev", "r");
if (!fp)
return -1
return -1;
if (!fgets(temp, BUFFER_SIZE, fp)) {
fclose(fp);
return -1;