From 5d40dcc0815f40086d39227b65bb2217dca11536 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Fri, 13 Apr 2001 00:45:19 +0000 Subject: [PATCH] improved error message --- bin/nsupdate/nsupdate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index f8f87efc1b..d22d4932db 100644 --- a/bin/nsupdate/nsupdate.c +++ b/bin/nsupdate/nsupdate.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nsupdate.c,v 1.89 2001/04/10 18:45:05 bwelling Exp $ */ +/* $Id: nsupdate.c,v 1.90 2001/04/13 00:45:19 bwelling Exp $ */ #include @@ -653,7 +653,7 @@ parse_args(int argc, char **argv) { result = isc_stdio_open(argv[isc_commandline_index], "r", &input); if (result != ISC_R_SUCCESS) { - fprintf(stderr, "isc_stdio_open(%s): %s\n", + fprintf(stderr, "failed to open '%s': %s\n", argv[isc_commandline_index], isc_result_totext(result)); exit(1);