=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for sendfile-2.1bnb4 --- all --- cd src; make --- sendfile.o --- --- message.o --- --- utf7.o --- --- pstring.o --- --- string.o --- --- io.o --- --- net.o --- --- address.o --- --- spool.o --- --- sendfile.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c sendfile.c --- message.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c message.c --- utf7.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c utf7.c --- pstring.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c pstring.c --- string.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c string.c --- io.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c io.c --- spool.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c spool.c --- net.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c net.c --- address.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c address.c --- io.o --- io.c: In function 'fcopy': --- sendfile.o --- sendfile.c: In function 'main': 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 *' --- io.o --- 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, --- sendfile.o --- 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); --- io.o --- 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); ^ --- sendfile.o --- ^ 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: --- io.o --- 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); --- sendfile.o --- 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" --- io.o --- ^ 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] --- sendfile.o --- ^ 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, --- io.o --- 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); ^ --- sendfile.o --- 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); --- io.o --- 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); ^ --- sendfile.o --- ^ 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 *' --- io.o --- 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; ^ --- sendfile.o --- 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] --- io.o --- 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] --- sendfile.o --- 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); ^ --- io.o --- case 'w': snprintf(MAXS(tmp),"shell-call: |%s",cmd); break; ^ io.c:510:36: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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); ^ --- io.o --- *** [io.o] Error code 1 make[1]: stopped in /tmp/work/sendfile-2.1b/src --- sendfile.o --- 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 *' 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 *' 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: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 *' 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 *' --- spool.o --- spool.c: In function 'scanspool': --- sendfile.o --- sendfile.c:1799:35: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"DATE %s",date); ^ --- spool.o --- spool.c:219:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ --- sendfile.o --- 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 *' --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:219:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ spool.c:219:7: note: each undeclared identifier is reported only once for each function it appears in spool.c:219:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ spool.c:219:27: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:1823:40: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"COMMENT %s",tmp); ^ --- spool.o --- spool.c:227:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"cannot open spool file %s",file); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:227:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"cannot open spool file %s",file); ^ spool.c:227:23: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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 *' --- spool.o --- spool.c:249:49: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:249:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ spool.c:249:27: note: expected 'int' but argument is of type 'char *' spool.c:251:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:251:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ spool.c:251:22: note: expected 'int' but argument is of type 'char *' spool.c:263:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:263:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ spool.c:263:22: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c: In function 'sock_getline': --- spool.o --- spool.c:296:43: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s (%s)",arg,cp+1); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:296:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s (%s)",arg,cp+1); ^ spool.c:296:25: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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); ^ --- net.o --- net.c:461:74: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"network socket data overrun (read bytes: %d)",n); ^ --- sendfile.o --- 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 *' --- address.o --- address.c: In function 'destination': --- sendfile.o --- 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); ^ --- address.o --- address.c:137:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(userconfig),"%s/.sendfile",pwe->pw_dir); ^ --- sendfile.o --- 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 *' --- spool.o --- spool.c:375:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:375:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.d",userspool,id); ^ spool.c:375:29: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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); ^ --- spool.o --- spool.c:377:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:137:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(userconfig),"%s/.sendfile",pwe->pw_dir); ^ --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:377:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,id); ^ spool.c:377:22: note: expected 'int' but argument is of type 'char *' --- address.o --- address.c:137:3: note: each undeclared identifier is reported only once for each function it appears in --- sendfile.o --- 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 *' --- address.o --- address.c:137:29: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(userconfig),"%s/.sendfile",pwe->pw_dir); ^ address.c:137:29: note: expected 'int' but argument is of type 'char *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:461:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"network socket data overrun (read bytes: %d)",n); ^ --- address.o --- address.c:138:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),SPOOL"/%s/config",pwe->pw_name); ^ --- net.o --- net.c:461:7: note: each undeclared identifier is reported only once for each function it appears in --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: 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" ^ address.c:138:22: note: in expansion of macro 'SPOOL' snprintf(MAXS(tmp),SPOOL"/%s/config",pwe->pw_name); ^~~~~ globals.h:17:19: note: expected 'int' but argument is of type 'char *' #define SPOOL "/var/spool/sendfile" ^ address.c:138:22: note: in expansion of macro 'SPOOL' snprintf(MAXS(tmp),SPOOL"/%s/config",pwe->pw_name); ^~~~~ --- net.o --- net.c:461:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"network socket data overrun (read bytes: %d)",n); ^ net.c:461:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c: In function 'cleanup': --- address.o --- address.c:145:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^ --- sendfile.o --- sendfile.c:1955:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); ^ --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:145:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); ^ address.c:145:24: note: expected 'int' but argument is of type 'char *' address.c:190:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(aliasfile),"%s/aliases",userconfig); ^ --- net.o --- net.c: In function 'getreply': --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:190:30: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(aliasfile),"%s/aliases",userconfig); ^ --- net.o --- net.c:533:66: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^ --- address.o --- address.c:190:30: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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 *' --- spool.o --- spool.c: In function 'scanoutspool': spool.c:564:38: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s*.h",sender); ^ --- sendfile.o --- 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 *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:533:14: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^ net.c:533:33: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] if (*reply) snprintf(MAXS(msg),"%s, last data: \"%s\"",msg,reply); ^ net.c:533:33: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c: In function 'pgp_encrypt': --- address.o --- address.c: In function 'check_forward': --- sendfile.o --- 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); ^ --- address.o --- address.c:345:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"server error: %s",reply+4); ^ --- net.o --- net.c:545:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"corrupt reply: \"%s\"",reply); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:545:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"corrupt reply: \"%s\"",reply); ^ net.c:545:21: note: expected 'int' but argument is of type 'char *' --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:564:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"%s*.h",sender); ^ spool.c:564:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s*.h",sender); ^ spool.c:564:24: note: expected 'int' but argument is of type 'char *' spool.c:568:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: globals.h:18:18: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ spool.c:568:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^~~~~~~~ --- net.o --- net.c:568:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ --- spool.o --- globals.h:18:18: note: expected 'int' but argument is of type 'char *' #define OUTGOING "/var/spool/sendfile/OUTGOING" ^ spool.c:568:24: note: in expansion of macro 'OUTGOING' snprintf(MAXS(hfn),OUTGOING"/%s",tmp); ^~~~~~~~ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:568:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ net.c:568:24: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c:575:68: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"cannot open outgoing spool file %s",hfn); ^ In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:575:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"cannot open outgoing spool file %s",hfn); ^ spool.c:575:28: note: expected 'int' but argument is of type 'char *' --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:345:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"server error: %s",reply+4); ^ address.c:345:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"server error: %s",reply+4); ^ address.c:345:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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 *' --- net.o --- net.c: In function 'sendheader': net.c:643:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ --- sendfile.o --- sendfile.c:2047:51: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(line),"ambigous pgp-ID '%s'",pgprid); ^ --- address.o --- address.c: In function 'saft_connect': address.c:662:79: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"opening connection to finger://%s/%s",host,recipient); ^ --- sendfile.o --- 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 *' --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:662:7: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"opening connection to finger://%s/%s",host,recipient); ^ --- sendfile.o --- sendfile.c:2071:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgprid,shell_quote(file),pgptmp); ^ --- address.o --- address.c:662:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"opening connection to finger://%s/%s",host,recipient); ^ address.c:662:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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 *' --- address.o --- address.c:674:75: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"opening connection to saft://%s/%s",host,recipient); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:643:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:674:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"opening connection to saft://%s/%s",host,recipient); ^ --- net.o --- net.c:643:22: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"server error: %s",&reply[4]); ^ --- address.o --- address.c:674:24: note: expected 'int' but argument is of type 'char *' --- net.o --- net.c:643:22: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c: In function 'pgp_sign': --- address.o --- address.c:683:56: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"%s has no internet-address",host); ^ --- sendfile.o --- sendfile.c:2106:46: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 pgp_bin,pgpvm,pgpsign,shell_quote(infile)); ^ --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:683:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s has no internet-address",host); ^ --- spool.o --- spool.c: In function 'delete_sf': --- address.o --- address.c:683:23: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c:779:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.d",userspool,flp->id); ^ --- address.o --- address.c:689:39: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(ahost),"saft.%s",host); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:689:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(ahost),"saft.%s",host); ^ address.c:689:25: note: expected 'int' but argument is of type 'char *' address.c:704:71: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"opening connection to %s@%s",recipient,host); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:704:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"opening connection to %s@%s",recipient,host); ^ address.c:704:27: note: expected 'int' but argument is of type 'char *' address.c:719:18: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 service,host); ^ --- net.o --- net.c: In function 'send_data': --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:718:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"cannot connect to SAFT port %s on %s", ^ --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:779:3: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(file),"%s/%d.d",userspool,flp->id); ^ --- address.o --- address.c:718:23: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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", ^ --- net.o --- net.c:728:53: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"server error: %s",&reply[4]); ^ --- spool.o --- spool.c:779:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.d",userspool,flp->id); ^ spool.c:779:23: note: expected 'int' but argument is of type 'char *' spool.c:781:50: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%s/%d.h",userspool,flp->id); ^ --- sendfile.o --- 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 *' --- address.o --- address.c:726:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "trying user SAFT server on port %s",host,service); ^ --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:781:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%s/%d.h",userspool,flp->id); ^ spool.c:781:23: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:2108:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"shell-call: %s",cmd); ^ --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:725:23: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"%s has no system SAFT server, " ^ address.c:725:23: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c:785:63: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"cannot delete spoolfile #%d",flp->id); ^ --- sendfile.o --- 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 *' --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:785:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"cannot delete spoolfile #%d",flp->id); ^ spool.c:785:26: note: expected 'int' but argument is of type 'char *' --- address.o --- address.c:736:72: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket"); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:736:21: error: expected expression before ')' token if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket"); ^ --- spool.o --- spool.c:791:44: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(msg),"%s deleted",fname); ^ --- address.o --- address.c:736: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"); ^ --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:791:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(msg),"%s deleted",fname); ^ spool.c:791:26: note: expected 'int' but argument is of type 'char *' --- address.o --- address.c:736:40: note: expected 'int' but argument is of type 'char *' address.c:737:75: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (sockfd==-2) snprintf(MAXS(tmp),"cannot open connection to %s",host); ^ --- sendfile.o --- sendfile.c:2127:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(sign),"SIGN %s",tmp); ^ --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:737: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",host); ^ address.c:737:40: note: expected 'int' but argument is of type 'char *' address.c:738:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (sockfd==-3) snprintf(MAXS(tmp),"%s is unknown",host); ^ --- sendfile.o --- 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 *' --- spool.o --- spool.c: In function 'spoolid': --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:738: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",host); ^ --- spool.o --- spool.c:877:34: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%d.h",id); ^ --- address.o --- address.c:738:40: note: expected 'int' but argument is of type 'char *' address.c:739:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 if (sockfd==-4) snprintf(MAXS(tmp),"out of memory"); ^ In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:739:21: error: expected expression before ')' token if (sockfd==-4) snprintf(MAXS(tmp),"out of memory"); ^ --- sendfile.o --- sendfile.c: In function 'start_spooldaemon': --- address.o --- address.c:739: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"); ^ address.c:739:40: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:2201:45: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon"); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:728:6: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(tmp),"server error: %s",&reply[4]); ^ --- address.o --- address.c:753:72: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"No SAFT server on port %s at %s",service,host); ^ --- net.o --- net.c:728:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"server error: %s",&reply[4]); ^ net.c:728:25: note: expected 'int' but argument is of type 'char *' --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:753: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",service,host); ^ address.c:753:26: note: expected 'int' but argument is of type 'char *' --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:877:5: error: '__ssp_bos' undeclared (first use in this function); did you mean '__sfpos'? snprintf(MAXS(file),"%d.h",id); ^ spool.c:877:25: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%d.h",id); ^ spool.c:877:25: note: expected 'int' but argument is of type 'char *' --- address.o --- address.c:766:38: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"FROM %s",user); ^ --- net.o --- net.c:746:67: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "file %s has been already transmitted - ignored.",iso_name); ^ --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:766:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"FROM %s",user); ^ address.c:766:24: note: expected 'int' but argument is of type 'char *' --- spool.o --- spool.c:886:36: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(file),"%d.d",id); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:746:9: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "file %s has been already transmitted - ignored.",iso_name); ^ net.c:746:9: note: expected 'int' but argument is of type 'char *' --- spool.o --- In file included from /usr/include/stdio.h:597:0, from spool.c:54: spool.c:886:27: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(file),"%d.d",id); ^ spool.c:886:27: note: expected 'int' but argument is of type 'char *' --- address.o --- address.c:768:41: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"TO %s",recipient); ^ --- sendfile.o --- 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 " ^ --- address.o --- In file included from /usr/include/stdio.h:597:0, from address.c:53: address.c:768:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"TO %s",recipient); ^ address.c:768:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- sendfile.c:2200:19: error: expected expression before ')' token if (sockfd==-1) snprintf(MAXS(tmp),"cannot create a network socket " ^ --- net.o --- net.c:754:57: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"corrupt server reply: %s",&reply[4]); ^ --- sendfile.o --- 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); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:754:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"corrupt server reply: %s",&reply[4]); ^ net.c:754:21: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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); ^ --- net.o --- net.c:767:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error reading %s",iso_name); ^ --- sendfile.o --- 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"); ^ --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:767:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error reading %s",iso_name); ^ net.c:767:21: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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 *' --- net.o --- net.c:778:66: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"resuming %s at byte %lld",iso_name,offset); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:778:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"resuming %s at byte %lld",iso_name,offset); ^ net.c:778:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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 *' --- net.o --- net.c:783:73: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"begin transfer of %s with %lld bytes",fname,size); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:783:24: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"begin transfer of %s with %lld bytes",fname,size); ^ net.c:783:24: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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 " ^ --- net.o --- net.c:808:48: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error reading %s",iso_name); ^ --- sendfile.o --- 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 *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:808:21: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error reading %s",iso_name); ^ --- sendfile.o --- sendfile.c:2247:52: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "- cannot start local spool daemon",host); ^ --- net.o --- net.c:808:21: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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); ^ --- net.o --- net.c:847:55: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"error reading %s",iso_name); ^ --- sendfile.o --- 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 *' --- net.o --- In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:847:28: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"error reading %s",iso_name); ^ net.c:847:28: note: expected 'int' but argument is of type 'char *' net.c:886:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "transfer of %s completed: %.1f kB/s",fname,thruput/1024); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:886:4: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "transfer of %s completed: %.1f kB/s",fname,thruput/1024); ^ net.c:886:4: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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); ^ --- net.o --- net.c:889:60: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 "transfer of %s completed: %d byte/s",fname,(int)thruput); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:889:4: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] "transfer of %s completed: %d byte/s",fname,(int)thruput); ^ net.c:889:4: note: expected 'int' but argument is of type 'char *' net.c:912:59: error: macro "__ssp_bos" passed 2 arguments, but takes just 1 snprintf(MAXS(tmp),"transfer failed for %s",iso_name); ^ In file included from /usr/include/stdio.h:597:0, from net.c:71: net.c:912:26: warning: passing argument 3 of '__builtin___snprintf_chk' makes integer from pointer without a cast [-Wint-conversion] snprintf(MAXS(tmp),"transfer failed for %s",iso_name); ^ net.c:912:26: note: expected 'int' but argument is of type 'char *' --- sendfile.o --- 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 *' --- address.o --- *** [address.o] Error code 1 make[1]: stopped in /tmp/work/sendfile-2.1b/src --- sendfile.o --- 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 *' --- spool.o --- *** [spool.o] Error code 1 make[1]: stopped in /tmp/work/sendfile-2.1b/src --- sendfile.o --- 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 *' --- net.o --- *** [net.o] Error code 1 make[1]: stopped in /tmp/work/sendfile-2.1b/src --- sendfile.o --- 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 *' *** [sendfile.o] Error code 1 make[1]: stopped in /tmp/work/sendfile-2.1b/src 5 errors make[1]: stopped in /tmp/work/sendfile-2.1b/src *** [all] Error code 2 bmake: stopped in /tmp/work/sendfile-2.1b 1 error bmake: stopped in /tmp/work/sendfile-2.1b *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/sendfile *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/sendfile