summaryrefslogtreecommitdiff
path: root/sysutils/atop/files/patch-atop.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/atop/files/patch-atop.c')
-rw-r--r--sysutils/atop/files/patch-atop.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/atop/files/patch-atop.c b/sysutils/atop/files/patch-atop.c
new file mode 100644
index 000000000000..3d736de7d626
--- /dev/null
+++ b/sysutils/atop/files/patch-atop.c
@@ -0,0 +1,12 @@
+--- atopsar.c.orig 2014-01-16 00:05:34 UTC
++++ atopsar.c
+@@ -600,7 +600,8 @@
+ */
+ printf("%s ", convtime(curtime, timebuf));
+
+- if ( !(rv = (pridef[i].priline)(ss, (struct tstat *)0, 0,
++ if ( !(rv = (pridef[i].priline)(ss, (struct tstat *)0,
++ (struct tstat **)0, 0,
+ numsecs, numsecs*hertz, hertz,
+ osvers, osrel, ossub,
+ stampalways ? timebuf : " ",