===> NOTICE: The libnvpair port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License CDDL accepted by the user ===> libnvpair-0cipiertest depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libnvpair-0cipiertest for building ===> Extracting for libnvpair-0cipiertest => SHA256 Checksum OK for jrmarino-libnvpair-0cipiertest_GH0.tar.gz. ===> Patching for libnvpair-0cipiertest ===> Configuring for libnvpair-0cipiertest ===> Building for libnvpair-0cipiertest --- objwarn --- Warning: Object directory not changed from original /wrkdirs/libnvpair-0cipiertest-port/work/libnvpair-0cipiertest --- fnvpair.o --- --- libnvpair.o --- --- nvpair_alloc_system.o --- --- nvpair_alloc_fixed.o --- --- fnvpair.o --- cc -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.fnvpair.o -MTfnvpair.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c fnvpair.c -o fnvpair.o --- libnvpair.o --- cc -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.libnvpair.o -MTlibnvpair.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c libnvpair.c -o libnvpair.o --- nvpair_alloc_system.o --- cc -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.nvpair_alloc_system.o -MTnvpair_alloc_system.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c nvpair_alloc_system.c -o nvpair_alloc_system.o --- nvpair_alloc_fixed.o --- cc -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.nvpair_alloc_fixed.o -MTnvpair_alloc_fixed.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c nvpair_alloc_fixed.c -o nvpair_alloc_fixed.o --- libnvpair.o --- libnvpair.c:211:1: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] NVLIST_PRTFUNC(int64, int64_t, int64_t, "%lld") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld libnvpair.c:198:27: note: expanded from macro 'NVLIST_PRTFUNC' (void) fprintf(fp, vfmt, (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:212:1: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] NVLIST_PRTFUNC(uint64, uint64_t, uint64_t, "0x%llx") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lx libnvpair.c:198:27: note: expanded from macro 'NVLIST_PRTFUNC' (void) fprintf(fp, vfmt, (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:215:1: warning: format specifies type 'unsigned long long' but the argument has type 'hrtime_t' (aka 'long') [-Wformat] NVLIST_PRTFUNC(hrtime, hrtime_t, hrtime_t, "0x%llx") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- nvpair.o --- --- libnvpair.o --- %lx libnvpair.c:198:27: note: expanded from macro 'NVLIST_PRTFUNC' (void) fprintf(fp, vfmt, (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:244:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(boolean_array, bool, bool, "%d") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:244:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:245:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(byte_array, u_char, u_char, "0x%2.2x") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:245:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:246:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(int8_array, int8_t, int8_t, "%d") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ --- nvpair.o --- cc -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.nvpair.o -MTnvpair.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c nvpair.c -o nvpair.o --- libnvpair.o --- libnvpair.c:246:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:247:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(uint8_array, uint8_t, uint8_t, "0x%x") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:247:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:248:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(int16_array, int16_t, int16_t, "%d") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:248:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:249:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(uint16_array, uint16_t, uint16_t, "0x%x") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:249:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:250:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(int32_array, int32_t, int32_t, "%d") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:250:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:251:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(uint32_array, uint32_t, uint32_t, "0x%x") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:251:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:252:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(int64_array, int64_t, int64_t, "%lld") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:252:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:252:1: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] NVLIST_ARRPRTFUNC(int64_array, int64_t, int64_t, "%lld") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld libnvpair.c:239:28: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, vfmt, (ptype)valuep[i]); \ ^~~~~~~~~~~~~~~~ libnvpair.c:253:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(uint64_array, uint64_t, uint64_t, "0x%llx") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:253:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:253:1: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] NVLIST_ARRPRTFUNC(uint64_array, uint64_t, uint64_t, "0x%llx") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lx libnvpair.c:239:28: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, vfmt, (ptype)valuep[i]); \ ^~~~~~~~~~~~~~~~ libnvpair.c:254:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(string_array, char *, char *, "%s") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:254:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:397:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void) fprintf(fp, pctl->nvprt_eomfmt); ^~~~~~~~~~~~~~~~~~ libnvpair.c:397:22: note: treat the string as an argument to avoid this (void) fprintf(fp, pctl->nvprt_eomfmt); ^ "%s", libnvpair.c:401:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:401:22: note: treat the string as an argument to avoid this (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ "%s", --- nvpair_json.o --- cc -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.nvpair_json.o -MTnvpair_json.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c nvpair_json.c -o nvpair_json.o --- libnvpair.o --- libnvpair.c:587:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, boolean, nvl, name, 1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:587:11: note: treat the string as an argument to avoid this RENDER(pctl, boolean, nvl, name, 1); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:593:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, boolean_value, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' --- nvpair_json.o --- nvpair_json.c:306:24: warning: format specifies type 'short' but the argument has type 'int8_t' (aka 'signed char') [-Wformat] FPRINTF(fp, "%hd", val[i]); ~~~ ^~~~~~ %hhd nvpair_json.c:26:19: note: expanded from macro 'FPRINTF' if (fprintf(fp, __VA_ARGS__) < 0) \ ^~~~~~~~~~~ --- libnvpair.o --- (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:593:11: note: treat the string as an argument to avoid this RENDER(pctl, boolean_value, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:599:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, byte, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:599:11: note: treat the string as an argument to avoid this --- fnvpair.pico --- --- libnvpair.o --- RENDER(pctl, byte, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:605:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, int8, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:605:11: note: treat the string as an argument to avoid this RENDER(pctl, int8, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:611:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, uint8, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:611:11: note: treat the string as an argument to avoid this RENDER(pctl, uint8, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:617:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, int16, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:617:11: note: treat the string as an argument to avoid this RENDER(pctl, int16, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:623:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, uint16, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:623:11: note: treat the string as an argument to avoid this RENDER(pctl, uint16, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:629:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, int32, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:629:11: note: treat the string as an argument to avoid this RENDER(pctl, int32, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:635:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, uint32, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:635:11: note: treat the string as an argument to avoid this RENDER(pctl, uint32, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:641:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, int64, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:641:11: note: treat the string as an argument to avoid this RENDER(pctl, int64, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:647:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, uint64, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:647:11: note: treat the string as an argument to avoid this RENDER(pctl, uint64, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:653:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, double, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:653:11: note: treat the string as an argument to avoid this RENDER(pctl, double, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:659:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, string, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:659:11: note: treat the string as an argument to avoid this RENDER(pctl, string, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:665:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, boolean_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:665:12: note: treat the string as an argument to avoid this ARENDER(pctl, boolean_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:671:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, byte_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:671:12: note: treat the string as an argument to avoid this ARENDER(pctl, byte_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:677:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, int8_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:677:12: note: treat the string as an argument to avoid this ARENDER(pctl, int8_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:683:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, uint8_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:683:12: note: treat the string as an argument to avoid this ARENDER(pctl, uint8_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:689:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- fnvpair.pico --- cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.fnvpair.pico -MTfnvpair.pico -std=gnu99 -fstack-protector-strong -Qunused-arguments -c fnvpair.c -o fnvpair.pico --- libnvpair.o --- ARENDER(pctl, int16_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:689:12: note: treat the string as an argument to avoid this ARENDER(pctl, int16_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:695:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, uint16_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:695:12: note: treat the string as an argument to avoid this ARENDER(pctl, uint16_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:701:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, int32_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:701:12: note: treat the string as an argument to avoid this ARENDER(pctl, int32_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:707:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, uint32_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:707:12: note: treat the string as an argument to avoid this ARENDER(pctl, uint32_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:713:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, int64_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:713:12: note: treat the string as an argument to avoid this ARENDER(pctl, int64_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:719:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, uint64_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:719:12: note: treat the string as an argument to avoid this ARENDER(pctl, uint64_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:725:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, string_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:725:12: note: treat the string as an argument to avoid this ARENDER(pctl, string_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:731:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, hrtime, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:731:11: note: treat the string as an argument to avoid this RENDER(pctl, hrtime, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:737:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, nvlist, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:737:11: note: treat the string as an argument to avoid this RENDER(pctl, nvlist, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:743:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, nvlist_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:743:12: note: treat the string as an argument to avoid this ARENDER(pctl, nvlist_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:845:4: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] NVP(elem, int64, int64_t, int64_t, "%lld"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld libnvpair.c:774:25: note: expanded from macro 'NVP' nvpair_name(elem), (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:849:4: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] NVP(elem, uint64, uint64_t, uint64_t, "%llu"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu libnvpair.c:774:25: note: expanded from macro 'NVP' nvpair_name(elem), (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:885:4: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] NVPA(elem, int64_array, int64_t, int64_t, "%lld"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld libnvpair.c:784:29: note: expanded from macro 'NVPA' nvpair_name(elem), i, (ptype)value[i]); \ ^~~~~~~~~~~~~~~ libnvpair.c:889:4: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] NVPA(elem, uint64_array, uint64_t, uint64_t, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:784:29: note: expanded from macro 'NVPA' nvpair_name(elem), i, (ptype)value[i]); \ ^~~~~~~~~~~~~~~ --- nvpair_json.o --- 1 warning generated. --- libnvpair.pico --- cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.libnvpair.pico -MTlibnvpair.pico -std=gnu99 -fstack-protector-strong -Qunused-arguments -c libnvpair.c -o libnvpair.pico libnvpair.c:211:1: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] NVLIST_PRTFUNC(int64, int64_t, int64_t, "%lld") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld libnvpair.c:198:27: note: expanded from macro 'NVLIST_PRTFUNC' (void) fprintf(fp, vfmt, (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:212:1: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] NVLIST_PRTFUNC(uint64, uint64_t, uint64_t, "0x%llx") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lx libnvpair.c:198:27: note: expanded from macro 'NVLIST_PRTFUNC' (void) fprintf(fp, vfmt, (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:215:1: warning: format specifies type 'unsigned long long' but the argument has type 'hrtime_t' (aka 'long') [-Wformat] NVLIST_PRTFUNC(hrtime, hrtime_t, hrtime_t, "0x%llx") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lx libnvpair.c:198:27: note: expanded from macro 'NVLIST_PRTFUNC' (void) fprintf(fp, vfmt, (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:244:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(boolean_array, bool, bool, "%d") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:244:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:245:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(byte_array, u_char, u_char, "0x%2.2x") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:245:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:246:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(int8_array, int8_t, int8_t, "%d") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ --- nvpair_alloc_system.pico --- --- libnvpair.pico --- libnvpair.c:246:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:247:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(uint8_array, uint8_t, uint8_t, "0x%x") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:247:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:248:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(int16_array, int16_t, int16_t, "%d") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:248:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:249:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(uint16_array, uint16_t, uint16_t, "0x%x") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:249:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:250:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(int32_array, int32_t, int32_t, "%d") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:250:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:251:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(uint32_array, uint32_t, uint32_t, "0x%x") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:251:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:252:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(int64_array, int64_t, int64_t, "%lld") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:252:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:252:1: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] NVLIST_ARRPRTFUNC(int64_array, int64_t, int64_t, "%lld") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld libnvpair.c:239:28: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, vfmt, (ptype)valuep[i]); \ ^~~~~~~~~~~~~~~~ libnvpair.c:253:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(uint64_array, uint64_t, uint64_t, "0x%llx") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:253:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:253:1: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] NVLIST_ARRPRTFUNC(uint64_array, uint64_t, uint64_t, "0x%llx") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lx libnvpair.c:239:28: note: expanded from macro 'NVLIST_ARRPRTFUNC' --- nvpair_alloc_system.pico --- cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.nvpair_alloc_system.pico -MTnvpair_alloc_system.pico -std=gnu99 -fstack-protector-strong -Qunused-arguments -c nvpair_alloc_system.c -o nvpair_alloc_system.pico --- libnvpair.pico --- (void) fprintf(fp, vfmt, (ptype)valuep[i]); \ ^~~~~~~~~~~~~~~~ libnvpair.c:254:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NVLIST_ARRPRTFUNC(string_array, char *, char *, "%s") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:254:1: note: treat the string as an argument to avoid this libnvpair.c:238:23: note: expanded from macro 'NVLIST_ARRPRTFUNC' (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ libnvpair.c:397:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void) fprintf(fp, pctl->nvprt_eomfmt); ^~~~~~~~~~~~~~~~~~ libnvpair.c:397:22: note: treat the string as an argument to avoid this (void) fprintf(fp, pctl->nvprt_eomfmt); ^ "%s", libnvpair.c:401:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:401:22: note: treat the string as an argument to avoid this (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \ ^ "%s", libnvpair.c:587:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, boolean, nvl, name, 1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:587:11: note: treat the string as an argument to avoid this RENDER(pctl, boolean, nvl, name, 1); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:593:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, boolean_value, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:593:11: note: treat the string as an argument to avoid this RENDER(pctl, boolean_value, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:599:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, byte, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:599:11: note: treat the string as an argument to avoid this RENDER(pctl, byte, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:605:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, int8, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:605:11: note: treat the string as an argument to avoid this RENDER(pctl, int8, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:611:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, uint8, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:611:11: note: treat the string as an argument to avoid this RENDER(pctl, uint8, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:617:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, int16, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:617:11: note: treat the string as an argument to avoid this RENDER(pctl, int16, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:623:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, uint16, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:623:11: note: treat the string as an argument to avoid this RENDER(pctl, uint16, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:629:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, int32, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:629:11: note: treat the string as an argument to avoid this RENDER(pctl, int32, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:635:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, uint32, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:635:11: note: treat the string as an argument to avoid this RENDER(pctl, uint32, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:641:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, int64, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:641:11: note: treat the string as an argument to avoid this RENDER(pctl, int64, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:647:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, uint64, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:647:11: note: treat the string as an argument to avoid this RENDER(pctl, uint64, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:653:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, double, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:653:11: note: treat the string as an argument to avoid this RENDER(pctl, double, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:659:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, string, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:659:11: note: treat the string as an argument to avoid this RENDER(pctl, string, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:665:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, boolean_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:665:12: note: treat the string as an argument to avoid this ARENDER(pctl, boolean_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:671:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, byte_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:671:12: note: treat the string as an argument to avoid this ARENDER(pctl, byte_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:677:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, int8_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:677:12: note: treat the string as an argument to avoid this ARENDER(pctl, int8_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:683:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, uint8_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:683:12: note: treat the string as an argument to avoid this ARENDER(pctl, uint8_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:689:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, int16_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:689:12: note: treat the string as an argument to avoid this ARENDER(pctl, int16_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:695:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, uint16_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:695:12: note: treat the string as an argument to avoid this ARENDER(pctl, uint16_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:701:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, int32_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:701:12: note: treat the string as an argument to avoid this ARENDER(pctl, int32_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:707:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, uint32_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:707:12: note: treat the string as an argument to avoid this ARENDER(pctl, uint32_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:713:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, int64_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:713:12: note: treat the string as an argument to avoid this ARENDER(pctl, int64_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:719:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, uint64_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:719:12: note: treat the string as an argument to avoid this ARENDER(pctl, uint64_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:725:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, string_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:725:12: note: treat the string as an argument to avoid this ARENDER(pctl, string_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:731:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, hrtime, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:731:11: note: treat the string as an argument to avoid this RENDER(pctl, hrtime, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:737:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] RENDER(pctl, nvlist, nvl, name, val); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:737:11: note: treat the string as an argument to avoid this RENDER(pctl, nvlist, nvl, name, val); ^ "%s", libnvpair.c:126:34: note: expanded from macro 'RENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:743:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, nvlist_array, nvl, name, val, nelem); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^~~~~~~~~~~~~~~~~~ libnvpair.c:743:12: note: treat the string as an argument to avoid this ARENDER(pctl, nvlist_array, nvl, name, val, nelem); ^ "%s", libnvpair.c:140:34: note: expanded from macro 'ARENDER' (void) fprintf(pctl->nvprt_fp, pctl->nvprt_eomfmt); \ ^ libnvpair.c:845:4: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] NVP(elem, int64, int64_t, int64_t, "%lld"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld libnvpair.c:774:25: note: expanded from macro 'NVP' nvpair_name(elem), (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:849:4: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] NVP(elem, uint64, uint64_t, uint64_t, "%llu"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu libnvpair.c:774:25: note: expanded from macro 'NVP' nvpair_name(elem), (ptype)value); \ ^~~~~~~~~~~~ libnvpair.c:885:4: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] NVPA(elem, int64_array, int64_t, int64_t, "%lld"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld libnvpair.c:784:29: note: expanded from macro 'NVPA' nvpair_name(elem), i, (ptype)value[i]); \ ^~~~~~~~~~~~~~~ libnvpair.c:889:4: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] NVPA(elem, uint64_array, uint64_t, uint64_t, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libnvpair.c:784:29: note: expanded from macro 'NVPA' nvpair_name(elem), i, (ptype)value[i]); \ ^~~~~~~~~~~~~~~ --- nvpair_alloc_fixed.pico --- cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.nvpair_alloc_fixed.pico -MTnvpair_alloc_fixed.pico -std=gnu99 -fstack-protector-strong -Qunused-arguments -c nvpair_alloc_fixed.c -o nvpair_alloc_fixed.pico --- nvpair.pico --- cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.nvpair.pico -MTnvpair.pico -std=gnu99 -fstack-protector-strong -Qunused-arguments -c nvpair.c -o nvpair.pico --- libnvpair.o --- 49 warnings generated. --- nvpair_json.pico --- cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MF.depend.nvpair_json.pico -MTnvpair_json.pico -std=gnu99 -fstack-protector-strong -Qunused-arguments -c nvpair_json.c -o nvpair_json.pico nvpair_json.c:306:24: warning: format specifies type 'short' but the argument has type 'int8_t' (aka 'signed char') [-Wformat] FPRINTF(fp, "%hd", val[i]); ~~~ ^~~~~~ %hhd nvpair_json.c:26:19: note: expanded from macro 'FPRINTF' if (fprintf(fp, __VA_ARGS__) < 0) \ ^~~~~~~~~~~ 1 warning generated. --- Version.map --- cat /wrkdirs/libnvpair-0cipiertest-port/work/libnvpair-0cipiertest/mapfile-vers | cpp - - | awk -v vfile=/wrkdirs/libnvpair-0cipiertest-port/work/libnvpair-0cipiertest/Versions.def -f /usr/share/mk/version_gen.awk > Version.map --- libnvpair.pico --- 49 warnings generated. --- libnvpair.a --- building static nvpair library ar -crD libnvpair.a `NM='nm' NMFLAGS='' lorder fnvpair.o libnvpair.o nvpair_alloc_system.o nvpair_alloc_fixed.o nvpair.o nvpair_json.o | tsort -q` ranlib -D libnvpair.a --- libnvpair.so.3 --- building shared library libnvpair.so.3 cc -fstack-protector -Wl,--version-script=Version.map -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libnvpair.so.3 -Wl,-soname,libnvpair.so.3 `NM='nm' NMFLAGS='' lorder fnvpair.pico libnvpair.pico nvpair_alloc_system.pico nvpair_alloc_fixed.pico nvpair.pico nvpair_json.pico | tsort -q` 0