From ec58f3a199bec73d6ca80e801eb71af2b5fed62a Mon Sep 17 00:00:00 2001 From: "Roy T. Fielding" Date: Tue, 18 Jun 2002 00:33:26 +0000 Subject: [PATCH] squash warnings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95744 13f79535-47bb-0310-9956-ffa450edef68 --- support/htpasswd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/htpasswd.c b/support/htpasswd.c index 3e622e5401..5ba73fd7b5 100644 --- a/support/htpasswd.c +++ b/support/htpasswd.c @@ -398,7 +398,7 @@ static void check_args(apr_pool_t *pool, int argc, const char *const argv[], } *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); } @@ -411,7 +411,7 @@ static void check_args(apr_pool_t *pool, int argc, const char *const argv[], } 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); } -- 2.50.1