mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:smbspool: Print the filename we failed to open
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13939 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
6bbdf69e40
commit
281274572b
@ -224,7 +224,9 @@ main(int argc, /* I - Number of command-line arguments */
|
||||
|
||||
fp = fopen(print_file, "rb");
|
||||
if (fp == NULL) {
|
||||
perror("ERROR: Unable to open print file");
|
||||
fprintf(stderr,
|
||||
"ERROR: Unable to open print file: %s",
|
||||
print_file);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user