openbsd-ports/devel/libgtop2/patches/patch-sysdeps_freebsd_fsusage_c
2005-05-25 23:28:16 +00:00

12 lines
452 B
Plaintext

$OpenBSD: patch-sysdeps_freebsd_fsusage_c,v 1.1 2005/05/25 23:28:16 marcm Exp $
--- sysdeps/freebsd/fsusage.c.orig Mon Apr 11 21:06:33 2005
+++ sysdeps/freebsd/fsusage.c Mon Apr 11 21:06:46 2005
@@ -34,7 +34,6 @@ _glibtop_freebsd_get_fsusage_read_write(
return;
}
- buf->read = sfs.f_syncreads + sfs.f_asyncreads;
buf->write = sfs.f_syncwrites + sfs.f_asyncwrites;
buf->flags |= (1 << GLIBTOP_FSUSAGE_READ) | (1 << GLIBTOP_FSUSAGE_WRITE);