1
0
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:
Andreas Schneider 2019-05-13 16:48:31 +02:00 committed by Andreas Schneider
parent 6bbdf69e40
commit 281274572b

View File

@ -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;
}