=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for sendfile-2.1bnb4 --- all --- cd src; make --- sendfile.o --- --- message.o --- --- utf7.o --- --- pstring.o --- --- message.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c message.c --- utf7.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c utf7.c --- pstring.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c pstring.c --- sendfile.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c sendfile.c sendfile.c: In function 'main': sendfile.c:501:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else packet_size=atoi(optarg); break; ^~~~ sendfile.c:501:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else packet_size=atoi(optarg); break; ^~~~~ sendfile.c:654:77: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:654:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^ sendfile.c:654:7: note: each undeclared identifier is reported only once for each function it appears in sendfile.c:654:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"unsupported compression program %s",force_compress); ^ sendfile.c:654:26: note: expected 'int' but argument is of type 'char *' sendfile.c:722:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s %s ",argv[0],aopt); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:722:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s %s ",argv[0],aopt); ^ sendfile.c:722:24: note: expected 'int' but argument is of type 'char *' sendfile.c:767:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(pgprid),"%s@%s",recipient,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:767:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(pgprid),"%s@%s",recipient,host); ^ sendfile.c:767:26: note: expected 'int' but argument is of type 'char *' sendfile.c:799:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(pgpsign),"-u '%s",pop); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:799:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(pgpsign),"-u '%s",pop); ^ sendfile.c:799:29: note: expected 'int' but argument is of type 'char *' sendfile.c:816:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"wrong pgp option, see 'man %s'",prg); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:816:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"wrong pgp option, see 'man %s'",prg); ^ sendfile.c:816:21: note: expected 'int' but argument is of type 'char *' sendfile.c:824:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userspool),SPOOL"/%s",pw_name); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: globals.h:17:19: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define SPOOL "/var/spool/sendfile" ^ sendfile.c:824:28: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",pw_name); ^~~~~ globals.h:17:19: note: expected 'int' but argument is of type 'char *' #define SPOOL "/var/spool/sendfile" ^ sendfile.c:824:28: note: in expansion of macro 'SPOOL' snprintf(MAXS(userspool),SPOOL"/%s",pw_name); ^~~~~ sendfile.c:825:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:825:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); ^ sendfile.c:825:28: note: expected 'int' but argument is of type 'char *' sendfile.c:826:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tartmp),"%s/sendfile.tar",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:826:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tartmp),"%s/sendfile.tar",tmpdir); ^ sendfile.c:826:25: note: expected 'int' but argument is of type 'char *' sendfile.c:827:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(ziptmp),"%s/sendfile.zip",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:827:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(ziptmp),"%s/sendfile.zip",tmpdir); ^ sendfile.c:827:25: note: expected 'int' but argument is of type 'char *' sendfile.c:828:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(pgptmp),"%s/sendfile.pgp",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:828:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(pgptmp),"%s/sendfile.pgp",tmpdir); ^ sendfile.c:828:25: note: expected 'int' but argument is of type 'char *' sendfile.c:829:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(texttmp),"%s/sendfile.txt",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:829:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(texttmp),"%s/sendfile.txt",tmpdir); ^ sendfile.c:829:26: note: expected 'int' but argument is of type 'char *' sendfile.c:830:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(stdintmp),"%s/sendfile.tmp",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:830:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(stdintmp),"%s/sendfile.tmp",tmpdir); ^ sendfile.c:830:27: note: expected 'int' but argument is of type 'char *' sendfile.c:848:64: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"the user spool directory is: %s",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:848:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"the user spool directory is: %s",userspool); ^ sendfile.c:848:21: note: expected 'int' but argument is of type 'char *' sendfile.c:852:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s is an unknown -W argument",where); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:852:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s is an unknown -W argument",where); ^ sendfile.c:852:26: note: expected 'int' but argument is of type 'char *' sendfile.c:869:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",tartmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:869:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",tartmp); ^ sendfile.c:869:7: note: expected 'int' but argument is of type 'char *' sendfile.c:874:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",ziptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:874:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",ziptmp); ^ sendfile.c:874:7: note: expected 'int' but argument is of type 'char *' sendfile.c:879:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",texttmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:879:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",texttmp); ^ sendfile.c:879:7: note: expected 'int' but argument is of type 'char *' sendfile.c:884:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",pgptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:884:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",pgptmp); ^ sendfile.c:884:7: note: expected 'int' but argument is of type 'char *' sendfile.c:889:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "tmp-file %s does already exist and cannot be deleted",stdintmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:889:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "tmp-file %s does already exist and cannot be deleted",stdintmp); ^ sendfile.c:889:7: note: expected 'int' but argument is of type 'char *' sendfile.c:957:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"packet size = %d bytes",packet_size); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:957:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"packet size = %d bytes",packet_size); ^ sendfile.c:957:24: note: expected 'int' but argument is of type 'char *' sendfile.c:973:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open tmp-file %s",stdintmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:973:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open tmp-file %s",stdintmp); ^ sendfile.c:973:26: note: expected 'int' but argument is of type 'char *' sendfile.c:980:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error while writing stdin to %s",stdintmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:980:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error while writing stdin to %s",stdintmp); ^ sendfile.c:980:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1025:65: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"spool directory %s does not exist",outgoing); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1025:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"spool directory %s does not exist",outgoing); ^ sendfile.c:1025:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1033:12: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 outgoing); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1032:4: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "spool directory %s has wrong protection (must have 1777)", ^ sendfile.c:1032:4: note: expected 'int' but argument is of type 'char *' --- string.o --- --- sendfile.o --- sendfile.c:1048:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot access spool directory %s",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1048:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot access spool directory %s",userspool); ^ sendfile.c:1048:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1054:42: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sdfn),"%s.d",argv[fn]); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1054:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sdfn),"%s.d",argv[fn]); ^ sendfile.c:1054:27: note: expected 'int' but argument is of type 'char *' sendfile.c:1055:42: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(shfn),"%s.h",argv[fn]); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1055:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(shfn),"%s.h",argv[fn]); ^ sendfile.c:1055:27: note: expected 'int' but argument is of type 'char *' sendfile.c:1056:74: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (info) snprintf(MAXS(tinfo),"#%d/%d: ",fn-optind+1,argc-optind-1); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1056:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (info) snprintf(MAXS(tinfo),"#%d/%d: ",fn-optind+1,argc-optind-1); ^ sendfile.c:1056:38: note: expected 'int' but argument is of type 'char *' sendfile.c:1060:65: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open spool file #%s",argv[fn]); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1060:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open spool file #%s",argv[fn]); ^ sendfile.c:1060:28: note: expected 'int' but argument is of type 'char *' --- string.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c string.c --- sendfile.o --- sendfile.c:1094:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s+ACA-(%s)",comment,cp+1); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1094:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s+ACA-(%s)",comment,cp+1); ^ sendfile.c:1094:25: note: expected 'int' but argument is of type 'char *' sendfile.c:1132:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot send %s : %s",file,reply+4); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1132:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot send %s : %s",file,reply+4); ^ sendfile.c:1132:25: note: expected 'int' but argument is of type 'char *' sendfile.c:1145:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -d <%s|%s>%s",BZIP2,sdfn,GZIP,ziptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1145:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d <%s|%s>%s",BZIP2,sdfn,GZIP,ziptmp); ^ sendfile.c:1145:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1147:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -d < %s > %s",BZIP2,sdfn,ziptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1147:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -d < %s > %s",BZIP2,sdfn,ziptmp); ^ sendfile.c:1147:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1149:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -dc %s > %s",GZIP,sdfn,ziptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1149:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -dc %s > %s",GZIP,sdfn,ziptmp); ^ sendfile.c:1149:27: note: expected 'int' but argument is of type 'char *' sendfile.c:1153:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot recompress spool file #%s",argv[fn]); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1153:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot recompress spool file #%s",argv[fn]); ^ sendfile.c:1153:27: note: expected 'int' but argument is of type 'char *' sendfile.c:1165:25: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(line,"SIZE %lld %lld",&size,&orgsize); ~~~^ ~~~~~ %ld sendfile.c:1165:30: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type '__off_t * {aka long int *}' [-Wformat=] sscanf(line,"SIZE %lld %lld",&size,&orgsize); ~~~^ ~~~~~~~~ %ld sendfile.c:1172:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"%s+AA0ACg-%s",comment,redirect); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1172:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"%s+AA0ACg-%s",comment,redirect); ^ sendfile.c:1172:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1175:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "%s+AA0ACg-forward+ACA-from+ACA-%s",line,comment); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1175:8: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "%s+AA0ACg-forward+ACA-from+ACA-%s",line,comment); ^ sendfile.c:1175:8: note: expected 'int' but argument is of type 'char *' sendfile.c:1203:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"COMMENT %s%s",tmp,comment); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1203:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"COMMENT %s%s",tmp,comment); ^ sendfile.c:1203:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1205:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"\r\n%s",redirect); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1205:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"\r\n%s",redirect); ^ sendfile.c:1205:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1218:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1218:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ sendfile.c:1218:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1219:37: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"SIZE %s",sizes); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1219:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"SIZE %s",sizes); ^ sendfile.c:1219:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1224:62: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "spool file #%s has wrong size count - ignored",argv[fn]); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1224:6: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "spool file #%s has wrong size count - ignored",argv[fn]); ^ sendfile.c:1224:6: note: expected 'int' but argument is of type 'char *' sendfile.c:1305:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1305:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ sendfile.c:1305:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1334:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s < %s > %s",zprg,tartmp,ziptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1334:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s < %s > %s",zprg,tartmp,ziptmp); ^ sendfile.c:1334:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1336:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1336:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ sendfile.c:1336:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1353:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1353:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ sendfile.c:1353:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1363:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(to),"%s",argv[argc-1]); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1363:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(to),"%s",argv[argc-1]); ^ sendfile.c:1363:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1365:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(to),"%s@%s",recipient,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1365:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(to),"%s@%s",recipient,host); ^ sendfile.c:1365:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1375:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1375:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^ sendfile.c:1375:27: note: expected 'int' but argument is of type 'char *' sendfile.c:1409:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FILE %s",utf_name); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1409:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FILE %s",utf_name); ^ sendfile.c:1409:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1418:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FILE %s",utf_name); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1418:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FILE %s",utf_name); ^ sendfile.c:1418:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1427:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FILE %s",utf_name); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1427:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FILE %s",utf_name); ^ sendfile.c:1427:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1432:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED"); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1432:4: error: expected expression before ')' token snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED"); ^ sendfile.c:1432:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED"); ^ sendfile.c:1432:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1434:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED=%s",compress); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1434:4: error: too few arguments to function '__builtin___snprintf_chk' snprintf(MAXS(tmp),"TYPE BINARY COMPRESSED=%s",compress); ^ sendfile.c:1451:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"SIZE %s",sizes); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1451:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"SIZE %s",sizes); ^ sendfile.c:1451:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1466:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1466:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^ sendfile.c:1466:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1475:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"COMMENT %s",tmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1475:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"COMMENT %s",tmp); ^ sendfile.c:1475:29: note: expected 'int' but argument is of type 'char *' sendfile.c:1518:74: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (info) snprintf(MAXS(tinfo),"#%d/%d: ",fn-optind+1,argc-optind-1); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1518:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (info) snprintf(MAXS(tinfo),"#%d/%d: ",fn-optind+1,argc-optind-1); ^ sendfile.c:1518:38: note: expected 'int' but argument is of type 'char *' sendfile.c:1552:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(to),"%s",argv[argc-1]); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1552:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(to),"%s",argv[argc-1]); ^ sendfile.c:1552:24: note: expected 'int' but argument is of type 'char *' sendfile.c:1554:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(to),"%s@%s",recipient,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1554:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(to),"%s@%s",recipient,host); ^ sendfile.c:1554:24: note: expected 'int' but argument is of type 'char *' sendfile.c:1564:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1564:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); ^ sendfile.c:1564:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1574:17: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 file,rto); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1573:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "deleted from outgoing spool: '%s' for %s ", ^ sendfile.c:1573:9: note: expected 'int' but argument is of type 'char *' sendfile.c:1598:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FILE %s",utf_name); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1598:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FILE %s",utf_name); ^ sendfile.c:1598:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1609:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' deleted",iso_name); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1609:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' deleted",iso_name); ^ sendfile.c:1609:25: note: expected 'int' but argument is of type 'char *' sendfile.c:1619:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot access '%s'",file); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1619:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot access '%s'",file); ^ sendfile.c:1619:28: note: expected 'int' but argument is of type 'char *' sendfile.c:1631:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s is not a regular file, skipping",file); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1631:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s is not a regular file, skipping",file); ^ sendfile.c:1631:28: note: expected 'int' but argument is of type 'char *' sendfile.c:1662:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot open '%s'",file); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1662:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot open '%s'",file); ^ sendfile.c:1662:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1706:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"*%s*",cft[n]); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1706:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"*%s*",cft[n]); ^ sendfile.c:1706:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1718:54: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s < '%s' > %s",zprg,file,ziptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1718:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s < '%s' > %s",zprg,file,ziptmp); ^ sendfile.c:1718:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1720:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s",strchr(cmd,';')+1); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1720:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s",strchr(cmd,';')+1); ^ sendfile.c:1720:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1724:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot compress %s",file); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1724:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot compress %s",file); ^ sendfile.c:1724:23: note: expected 'int' but argument is of type 'char *' --- io.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -Wall -DBSD -c io.c --- sendfile.o --- sendfile.c:1746:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1746:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ^ sendfile.c:1746:28: note: expected 'int' but argument is of type 'char *' sendfile.c:1784:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TYPE %s COMPRESSED",type); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1784:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TYPE %s COMPRESSED",type); ^ sendfile.c:1784:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1786:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TYPE %s COMPRESSED=%s",type,compress); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1786:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TYPE %s COMPRESSED=%s",type,compress); ^ sendfile.c:1786:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1788:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TYPE %s CRYPTED",type); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1788:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TYPE %s CRYPTED",type); ^ sendfile.c:1788:24: note: expected 'int' but argument is of type 'char *' sendfile.c:1790:38: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"TYPE %s",type); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1790:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"TYPE %s",type); ^ sendfile.c:1790:24: note: expected 'int' but argument is of type 'char *' sendfile.c:1794:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"remote site does not support file of %s",line); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1794:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"remote site does not support file of %s",line); ^ sendfile.c:1794:23: note: expected 'int' but argument is of type 'char *' sendfile.c:1797:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"SIZE %s",sizes); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1797:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"SIZE %s",sizes); ^ sendfile.c:1797:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1799:35: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"DATE %s",date); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1799:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"DATE %s",date); ^ sendfile.c:1799:21: note: expected 'int' but argument is of type 'char *' sendfile.c:1814:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1814:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s\r\n%s",line,redirect); ^ sendfile.c:1814:25: note: expected 'int' but argument is of type 'char *' sendfile.c:1823:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"COMMENT %s",tmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1823:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"COMMENT %s",tmp); ^ sendfile.c:1823:24: note: expected 'int' but argument is of type 'char *' sendfile.c:1883:74: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%d files sent with %.1f MB",tfn,tsize/1024/1024); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1883:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%d files sent with %.1f MB",tfn,tsize/1024/1024); ^ sendfile.c:1883:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1885:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%d files sent with %.1f kB",tfn,tsize/1024); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1885:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%d files sent with %.1f kB",tfn,tsize/1024); ^ sendfile.c:1885:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1887:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%d files sent with %d byte",tfn,(int)tsize); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1887:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%d files sent with %d byte",tfn,(int)tsize); ^ sendfile.c:1887:26: note: expected 'int' but argument is of type 'char *' sendfile.c:1889:61: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"%s at %.1f kB/s",tmp,thruput/1024); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1889:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"%s at %.1f kB/s",tmp,thruput/1024); ^ sendfile.c:1889:27: note: expected 'int' but argument is of type 'char *' sendfile.c:1891:61: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"%s at %d byte/s",tmp,(int)thruput); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1891:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"%s at %d byte/s",tmp,(int)thruput); ^ sendfile.c:1891:27: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'cleanup': sendfile.c:1955:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1955:2: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ sendfile.c:1955:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ sendfile.c:1955:22: note: expected 'int' but argument is of type 'char *' sendfile.c:1984:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:1984:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ sendfile.c:1984:28: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'pgp_encrypt': sendfile.c:2036:75: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"%s -kvf %s > %s 2>/dev/null",pgp_bin,pgprid,pgptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2036:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(cmd),"%s -kvf %s > %s 2>/dev/null",pgp_bin,pgprid,pgptmp); ^ sendfile.c:2036:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s -kvf %s > %s 2>/dev/null",pgp_bin,pgprid,pgptmp); ^ sendfile.c:2036:24: note: expected 'int' but argument is of type 'char *' sendfile.c:2047:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"ambigous pgp-ID '%s'",pgprid); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2047:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(line),"ambigous pgp-ID '%s'",pgprid); ^ sendfile.c:2047:22: note: expected 'int' but argument is of type 'char *' sendfile.c:2061:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgpcrypt,shell_quote(file),pgptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2060:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s +armor=off -f%c < %s > %s", ^ sendfile.c:2060:24: note: expected 'int' but argument is of type 'char *' sendfile.c:2071:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgprid,shell_quote(file),pgptmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2070:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s +armor=off -fe %s < %s > %s 2>/dev/null", ^ sendfile.c:2070:24: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'pgp_sign': sendfile.c:2106:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgpvm,pgpsign,shell_quote(infile)); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2105:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(cmd),"%s %s -fsba %s < %s", ^ sendfile.c:2105:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"%s %s -fsba %s < %s", ^ sendfile.c:2105:22: note: expected 'int' but argument is of type 'char *' sendfile.c:2108:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2108:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ sendfile.c:2108:24: note: expected 'int' but argument is of type 'char *' sendfile.c:2127:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sign),"SIGN %s",tmp); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2127:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(sign),"SIGN %s",tmp); ^ sendfile.c:2127:23: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'start_spooldaemon': sendfile.c:2201:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon"); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2200:19: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2200:19: error: expected expression before ')' token if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2200:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2200:38: note: expected 'int' but argument is of type 'char *' sendfile.c:2203:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",localhost); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2202:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-2) snprintf(MAXS(tmp),"cannot open connection to %s " ^ sendfile.c:2202:38: note: expected 'int' but argument is of type 'char *' sendfile.c:2205:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",localhost); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2204:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-3) snprintf(MAXS(tmp),"%s is unknown (name server down?) " ^ sendfile.c:2204:38: note: expected 'int' but argument is of type 'char *' sendfile.c:2207:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon"); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2206:19: error: expected expression before ')' token if (sockfd==-4) snprintf(MAXS(tmp),"out of memory " ^ sendfile.c:2206:38: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-4) snprintf(MAXS(tmp),"out of memory " ^ sendfile.c:2206:38: note: expected 'int' but argument is of type 'char *' sendfile.c:2222:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",SERVICE,localhost); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2221:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"No SAFT server on port %s at %s " ^ sendfile.c:2221:24: note: expected 'int' but argument is of type 'char *' sendfile.c:2245:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon"); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2244:21: error: expected expression before ')' token if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2244:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ sendfile.c:2244:40: note: expected 'int' but argument is of type 'char *' sendfile.c:2247:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2246:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-2) snprintf(MAXS(tmp),"cannot open connection to %s " ^ sendfile.c:2246:40: note: expected 'int' but argument is of type 'char *' sendfile.c:2249:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2248:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-3) snprintf(MAXS(tmp),"%s is unknown (name server down?) " ^ sendfile.c:2248:40: note: expected 'int' but argument is of type 'char *' sendfile.c:2251:47: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon"); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2250:21: error: expected expression before ')' token if (sockfd==-4) snprintf(MAXS(tmp),"out of memory " ^ sendfile.c:2250:40: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (sockfd==-4) snprintf(MAXS(tmp),"out of memory " ^ sendfile.c:2250:40: note: expected 'int' but argument is of type 'char *' sendfile.c:2266:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",SERVICE,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2265:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"No SAFT server on port %s at %s " ^ sendfile.c:2265:26: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'forward': sendfile.c:2352:59: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type '__off_t * {aka long int *}' [-Wformat=] if (str_neq_nocase("SIZE",line,4)) sscanf(arg+1,"%lld",&size); ~~~^ ~~~~~ %ld sendfile.c: In function 'get_header': sendfile.c:2396:66: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "illegal SAFT command \"%s\", \"%s\" was expected",line,cmd); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2395:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp), ^ sendfile.c:2396:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "illegal SAFT command \"%s\", \"%s\" was expected",line,cmd); ^ sendfile.c:2396:7: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'guess_ftype': sendfile.c:2476:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(cmd),"file %s",shell_quote(file)); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2476:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(cmd),"file %s",shell_quote(file)); ^ sendfile.c:2476:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(cmd),"file %s",shell_quote(file)); ^ sendfile.c:2476:22: note: expected 'int' but argument is of type 'char *' sendfile.c:2488:54: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s is of type %s",file,type); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2488:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s is of type %s",file,type); ^ sendfile.c:2488:26: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'linkspeed': sendfile.c:2538:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2538:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ sendfile.c:2538:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ sendfile.c:2538:27: note: expected 'int' but argument is of type 'char *' sendfile.c:2545:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2545:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ sendfile.c:2545:27: note: expected 'int' but argument is of type 'char *' sendfile.c:2557:17: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 host,speed); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2556:7: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "disabling compressing because last link speed to %s was %d kB/s", ^ sendfile.c:2556:7: note: expected 'int' but argument is of type 'char *' sendfile.c:2559:70: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"LAN speed is defined as min %d kB/s",lanspeed); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2559:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"LAN speed is defined as min %d kB/s",lanspeed); ^ sendfile.c:2559:24: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'notespeed': sendfile.c:2590:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2590:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ sendfile.c:2590:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(speeddir),"%s/speeds",userspool); ^ sendfile.c:2590:27: note: expected 'int' but argument is of type 'char *' sendfile.c:2597:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2597:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(hostfile),"%s/%s",speeddir,host); ^ sendfile.c:2597:27: note: expected 'int' but argument is of type 'char *' sendfile.c: In function 'list_spool': sendfile.c:2634:30: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__off_t {aka long int}' [-Wformat=] printf("%s@%s : %s (%lld KB)\n", ~~~^ %ld oflp->to,hlp->host,file,(oflp->size+512)/1024); ~~~~~~~~~~~~~~~~~~~~~ sendfile.c: In function 'spooled_info': sendfile.c:2661:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot access spool file %s",sdf); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2661:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot access spool file %s",sdf); ^ sendfile.c:2661:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot access spool file %s",sdf); ^ sendfile.c:2661:24: note: expected 'int' but argument is of type 'char *' sendfile.c:2669:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' spooled (%d KB [compressed])",file,size); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2669:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' spooled (%d KB [compressed])",file,size); ^ sendfile.c:2669:24: note: expected 'int' but argument is of type 'char *' sendfile.c:2671:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"'%s' spooled (%d KB)",file,size); ^ In file included from /usr/include/stdio.h:597:0, from sendfile.c:127: sendfile.c:2671:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"'%s' spooled (%d KB)",file,size); ^ sendfile.c:2671:24: note: expected 'int' but argument is of type 'char *' --- io.o --- io.c: In function 'fcopy': io.c:135:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot access '%s'",from); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:135:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot access '%s'",from); ^ io.c:135:5: note: each undeclared identifier is reported only once for each function it appears in io.c:135:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot access '%s'",from); ^ io.c:135:24: note: expected 'int' but argument is of type 'char *' io.c:150:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error opening '%s'",from); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:150:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error opening '%s'",from); ^ io.c:150:24: note: expected 'int' but argument is of type 'char *' io.c:161:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error creating '%s'",to); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:161:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error creating '%s'",to); ^ io.c:161:26: note: expected 'int' but argument is of type 'char *' io.c:183:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error writing '%s'",to); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:183:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error writing '%s'",to); ^ io.c:183:21: note: expected 'int' but argument is of type 'char *' io.c:215:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error reading '%s'",from); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:215:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error reading '%s'",from); ^ io.c:215:24: note: expected 'int' but argument is of type 'char *' io.c:223:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"wrong byte count for '%s'",from); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:223:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"wrong byte count for '%s'",from); ^ io.c:223:24: note: expected 'int' but argument is of type 'char *' io.c: In function 'mktmpdir': io.c:337:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot create tmpdir %s",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:337:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot create tmpdir %s",tmpdir); ^ io.c:337:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot create tmpdir %s",tmpdir); ^ io.c:337:24: note: expected 'int' but argument is of type 'char *' io.c:342:69: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"directory for temporary files is: %s",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:342:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"directory for temporary files is: %s",tmpdir); ^ io.c:342:24: note: expected 'int' but argument is of type 'char *' io.c: In function 'rmtmpdir': io.c:381:67: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir,dire->d_name); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:381:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir,dire->d_name); ^ io.c:381:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir,dire->d_name); ^ io.c:381:26: note: expected 'int' but argument is of type 'char *' io.c:389:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"cannot remove %s",tmpdir); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:389:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot remove %s",tmpdir); ^ io.c:389:24: note: expected 'int' but argument is of type 'char *' io.c: In function 'vsystem': io.c:486:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s\n",cmd); ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:486:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"shell-call: %s\n",cmd); ^ io.c:486:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"shell-call: %s\n",cmd); ^ io.c:486:24: note: expected 'int' but argument is of type 'char *' io.c: In function 'vpopen': io.c:509:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case 'r': snprintf(MAXS(tmp),"shell-call: %s|",cmd); break; ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:509:17: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? case 'r': snprintf(MAXS(tmp),"shell-call: %s|",cmd); break; ^ io.c:509:36: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case 'r': snprintf(MAXS(tmp),"shell-call: %s|",cmd); break; ^ io.c:509:36: note: expected 'int' but argument is of type 'char *' io.c:510:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 case 'w': snprintf(MAXS(tmp),"shell-call: |%s",cmd); break; ^ In file included from /usr/include/stdio.h:597:0, from io.c:35: io.c:510:36: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] case 'w': snprintf(MAXS(tmp),"shell-call: |%s",cmd); break; ^ io.c:510:36: note: expected 'int' but argument is of type 'char *' *** [io.o] Error code 1 make[1]: stopped in /tmp/net/sendfile/work/sendfile-2.1b/src --- sendfile.o --- *** [sendfile.o] Error code 1 make[1]: stopped in /tmp/net/sendfile/work/sendfile-2.1b/src 2 errors make[1]: stopped in /tmp/net/sendfile/work/sendfile-2.1b/src *** [all] Error code 2 make: stopped in /tmp/net/sendfile/work/sendfile-2.1b 1 error make: stopped in /tmp/net/sendfile/work/sendfile-2.1b *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/sendfile *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/sendfile