From 2ebb4c59166a1b74373596c3407c25a6b0bc337b Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Thu, 19 Jan 2023 03:22:41 -0500 Subject: [PATCH] title[22] -> title[18] title[22] -> title[18] to match length of strings passed. (not pretty code and ultimately title[] is src to strcpy(), but at least have the prototype and function definition match) --- UnixBench/src/whets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnixBench/src/whets.c b/UnixBench/src/whets.c index 877e857..749ab39 100644 --- a/UnixBench/src/whets.c +++ b/UnixBench/src/whets.c @@ -312,7 +312,7 @@ structions void pa(SPDP e[4], SPDP t, SPDP t2); void po(SPDP e1[4], long j, long k, long l); void p3(SPDP *x, SPDP *y, SPDP *z, SPDP t, SPDP t1, SPDP t2); - void pout(char title[22], float ops, int type, SPDP checknum, + void pout(char title[18], float ops, int type, SPDP checknum, SPDP time, int calibrate, int section); @@ -794,7 +794,7 @@ char *argv[]; } - void pout(char title[22], float ops, int type, SPDP checknum, + void pout(char title[18], float ops, int type, SPDP checknum, SPDP time, int calibrate, int section) { SPDP mops,mflops;