#include <sys/param.h>
#include <sys/types.h>
#include <sys/sysctl.h>
+#if defined(__OpenBSD__)
+#include <sys/sched.h>
+#else
#include <sys/dkstat.h>
#endif
+#endif
#if defined(__DragonFly__)
#include <sys/param.h>
}
if (BEGINS_WITH(walk + 1, "usage")) {
- outwalk += sprintf(outwalk, "%02d%%", diff_usage);
+ outwalk += sprintf(outwalk, "%02d%s", diff_usage, pct_mark);
walk += strlen("usage");
}
}