diff options
author | Oleksii Samorukov <samm@FreeBSD.org> | 2019-10-19 18:52:25 +0000 |
---|---|---|
committer | Oleksii Samorukov <samm@FreeBSD.org> | 2019-10-19 18:52:25 +0000 |
commit | 0c67e155dcc80ae97126ae4d9070750993d6f4e6 (patch) | |
tree | f205d5f886560d08d265140965fe468d7396f794 /sysutils/atop/files/patch-atop.c | |
parent | audio/polyphone: Update 2.1.1 -> 2.1.2 (diff) |
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
Notes
Notes:
svn path=/head/; revision=514824
Diffstat (limited to 'sysutils/atop/files/patch-atop.c')
-rw-r--r-- | sysutils/atop/files/patch-atop.c | 12 |
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 : " ", |