de57db5cf2
Note that it does not work better than previous in-tree version but it will give us a better base to fix it. joint work with jasper@ most patches adapted from NetBSD fsusage patch from naddy@ ok jasper@
13 lines
529 B
Plaintext
13 lines
529 B
Plaintext
$OpenBSD: patch-sysdeps_common_fsusage_c,v 1.1 2008/02/09 16:52:25 ajacoutot Exp $
|
|
--- sysdeps/common/fsusage.c.orig Fri Dec 28 17:23:01 2007
|
|
+++ sysdeps/common/fsusage.c Fri Dec 28 17:23:28 2007
|
|
@@ -270,7 +270,7 @@ glibtop_get_fsusage_s (glibtop *server, glibtop_fsusag
|
|
return;
|
|
|
|
#if (defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__)) \
|
|
- || defined(__FreeBSD__)
|
|
+ || defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
/* Solaris but not SunOS and FreeBSD */
|
|
buf->block_size = fsd.f_frsize;
|
|
#else
|