From 88301f84d1391e96ec87a9a308aa18f45553a56b Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 9 Aug 2000 18:35:40 +0000 Subject: [PATCH] print the deprecation warning message to stderr, not stdout --- bin/dig/nslookup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/dig/nslookup.c b/bin/dig/nslookup.c index 43241d7e88..d7dbebd0a1 100644 --- a/bin/dig/nslookup.c +++ b/bin/dig/nslookup.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nslookup.c,v 1.33 2000/08/07 23:54:46 gson Exp $ */ +/* $Id: nslookup.c,v 1.34 2000/08/09 18:35:40 gson Exp $ */ #include @@ -856,10 +856,10 @@ main(int argc, char **argv) { parse_args(argc, argv); if (deprecation_msg) { - puts( + fputs( "Note: nslookup is deprecated and may be removed from future releases.\n" "Consider using the `dig' or `host' programs instead. Run nslookup with\n" -"the `-sil[ent]' option to prevent this message from appearing.\n"); +"the `-sil[ent]' option to prevent this message from appearing.\n", stderr); } setup_system();