From 584206dccfd61ec49c729291b6f1874b4e38d2be Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 15 Feb 2003 21:36:28 +0000 Subject: fix dumb perror used without errno beeing set. thanks to RedHat developers for the report (This used to be commit 4a3c6c62d979707900b95e6c38b0132f522269ca) --- source3/client/smbspool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index c42cc7b91f..68165792da 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -205,12 +205,12 @@ static int smb_print(struct cli_state *, char *, FILE *); { if (getenv("CLASS") == NULL) { - perror("ERROR: Unable to connect to SAMBA host, will retry in 60 seconds..."); + fprintf(stderr, "ERROR: Unable to connect to SAMBA host, will retry in 60 seconds..."); sleep (60); } else { - perror("ERROR: Unable to connect to SAMBA host, trying next printer..."); + fprintf(stderr, "ERROR: Unable to connect to SAMBA host, trying next printer..."); return (1); } } -- cgit