From ec117682b53b236e06008abd7f670756f7397ca7 Mon Sep 17 00:00:00 2001 From: vlad shkapenyuk Date: Mon, 7 Oct 2019 14:31:14 -0400 Subject: [PATCH] Further fixes to external fucntions Signed-off-by: vlad shkapenyuk Change-Id: Ia99fcc90c7cba6dc3e12e22075897e6694923be5 --- cfg/external_fcns.def | 2 +- src/tools/gsprintconsole_ves.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cfg/external_fcns.def b/cfg/external_fcns.def index 4ee0f19..8091c8a 100644 --- a/cfg/external_fcns.def +++ b/cfg/external_fcns.def @@ -164,7 +164,7 @@ uint FUN [LFTA_LEGAL, COST EXPENSIVE] uint FUN [COST LOW] extr_med_hfta0_fcn(string); uint EXTR qspace_of quant_udaf_hfta0 extr_quant_hfta0_space (uint); uint FUN [COST LOW] extr_quant_hfta0_space(string); - string UDAF [SUBAGGR quant_udaf_lfta3, SUPERAGGR quant_udaf_hfta3] quant_udaf_hfta0 fstring8 (uint); + string UDAF [SUBAGGR quant_udaf_lfta3, SUPERAGGR quant_udaf_hfta3] quant_udaf_hfta0 fstring16 (uint); string UDAF quant_udaf_hfta3 fstring16 (string); string UDAF quant_udaf_lfta3 fstring6600 (uint); diff --git a/src/tools/gsprintconsole_ves.c b/src/tools/gsprintconsole_ves.c index 9f3afaa..5bb6205 100644 --- a/src/tools/gsprintconsole_ves.c +++ b/src/tools/gsprintconsole_ves.c @@ -91,13 +91,13 @@ static void wait_for_client() { /* make sure we can reuse the common port rapidly */ if (setsockopt(listensockfd, SOL_SOCKET, SO_REUSEPORT, (gs_sp_t )&on, sizeof(on)) != 0) { - gslog(LOG_EMERG,"Error::could not set socket option\n"); + gslog(LOG_EMERG,"Error::could not set socket option"); exit(1); } #endif if (setsockopt(listensockfd, SOL_SOCKET, SO_REUSEADDR, (gs_sp_t )&on, sizeof(on)) != 0) { - gslog(LOG_EMERG,"Error::could not set socket option\n"); + gslog(LOG_EMERG,"Error::could not set socket option"); exit(1); } @@ -254,7 +254,7 @@ int main(int argc, char* argv[]) { } if (get_initinstance(gshub,instance_name,&dummyep,1)!=0) { - gslog(LOG_EMERG,"Did not receive signal that GS is initiated\n"); + gslog(LOG_EMERG,"Did not receive signal that GS is initiated"); } @@ -632,12 +632,12 @@ int main(int argc, char* argv[]) { http_post_request_hdr(curl_endpoint, curl_url, linebuf, &http_code, curl_auth); if(http_code != 200 && http_code != 202){ post_failure_cnt++; - gslog(LOG_WARNING, "http return code is %d\n",http_code); + gslog(LOG_WARNING, "http return code is %d",http_code); } else { post_success_cnt++; } if (((post_success_cnt+post_failure_cnt) % STAT_FREQUENCY) == 0) - gslog(LOG_WARNING, "%s: successful ves posts - %llu, failed ves posts - %llu\n", argv[0], post_success_cnt, post_failure_cnt); + gslog(LOG_WARNING, "%s: successful ves posts - %llu, failed ves posts - %llu", argv[0], post_success_cnt, post_failure_cnt); } if (verbose!=0) fflush(stdout); } else { -- 2.16.6