diff options
Diffstat (limited to 'freebsd/Platform.c')
-rw-r--r-- | freebsd/Platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/Platform.c b/freebsd/Platform.c index 527a455..9c88b40 100644 --- a/freebsd/Platform.c +++ b/freebsd/Platform.c @@ -1,7 +1,7 @@ /* htop - freebsd/Platform.c (C) 2014 Hisham H. Muhammad -Released under the GNU GPLv2, see the COPYING file +Released under the GNU GPLv2+, see the COPYING file in the source distribution for its full text. */ @@ -284,7 +284,7 @@ bool Platform_getDiskIO(DiskIOData* data) { if (devstat_checkversion(NULL) < 0) return false; - struct devinfo info = { 0 }; + static struct devinfo info = { 0 }; struct statinfo current = { .dinfo = &info }; // get number of devices |