Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
Use the sioctl_open(3) OpenBSD API to access vol
[slstatus.git]
/
components
/
netspeeds.c
diff --git
a/components/netspeeds.c
b/components/netspeeds.c
index
02c030e
..
0029177
100644
(file)
--- a/
components/netspeeds.c
+++ b/
components/netspeeds.c
@@
-58,7
+58,7
@@
return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
1024);
}
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__)
| defined(__FreeBSD__)
#include <string.h>
#include <ifaddrs.h>
#include <sys/types.h>