diff options
-rw-r--r-- | source3/client/smbspool.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |