Skip to content
Snippets Groups Projects
Commit 718ec232 authored by rswindell's avatar rswindell
Browse files

Print SMB last_error value when failing to re-open message base.

parent 9c14fbd0
No related branches found
No related tags found
No related merge requests found
...@@ -1227,7 +1227,7 @@ void packmsgs(ulong packable) ...@@ -1227,7 +1227,7 @@ void packmsgs(ulong packable)
} }
if((i=smb_open(&smb))!=0) { if((i=smb_open(&smb))!=0) {
fprintf(stderr,"\n\7!Error %d reopening %s\n",i,smb.file); fprintf(stderr,"\n\7!Error %d (%s) reopening %s\n",i,smb.last_error,smb.file);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment