ports/sysutils/atop/files/patch-atop.c
Oleksii Samorukov 0c67e155dc sysutils/atop: a function pointer was called with incorrect number of argument
PR:                       239586
Submitted by:             msl0000023508@gmail.com
Approved by:              krion (mentor)
Differential Revision:    https://reviews.freebsd.org/D22090
2019-10-19 18:52:25 +00:00

12 lines
410 B
C

--- 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 : " ",