mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
print the deprecation warning message to stderr, not stdout
This commit is contained in:
parent
aeb26739dd
commit
88301f84d1
@ -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 <config.h>
|
||||
|
||||
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user