summaryrefslogtreecommitdiffstats
path: root/mbbsd/osdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/osdep.c')
-rw-r--r--mbbsd/osdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/osdep.c b/mbbsd/osdep.c
index 598cc5fd..4872083e 100644
--- a/mbbsd/osdep.c
+++ b/mbbsd/osdep.c
@@ -442,7 +442,7 @@ double swapused(int *total, int *used)
register int free;
struct swaptable *swt;
struct swapent *ste;
- static char path[256];
+ static char path[256]; // does it really need 'static' ?
cnt = swapctl(SC_GETNSWP, 0);
swt = (struct swaptable *)malloc(sizeof(int) +
cnt * sizeof(struct swapent));