}
*pwfilename = apr_pstrdup(pool, argv[i]);
if (strlen(argv[i + 1]) > (MAX_STRING_LEN - 1)) {
- apr_file_printf(errfile, "%s: username too long (>%" APR_SIZE_T_FMT ")\n",
+ apr_file_printf(errfile, "%s: username too long (> %d)\n",
argv[0], MAX_STRING_LEN - 1);
exit(ERR_OVERFLOW);
}
}
if (*mask & NONINTERACTIVE) {
if (strlen(argv[i + 2]) > (MAX_STRING_LEN - 1)) {
- apr_file_printf(errfile, "%s: password too long (>%" APR_SIZE_T_FMT ")\n",
+ apr_file_printf(errfile, "%s: password too long (> %d)\n",
argv[0], MAX_STRING_LEN);
exit(ERR_OVERFLOW);
}