Restore strerror as %m is unsupported by the BSDs
The BSDs just print m instead of the actual error message. Benefit is not worth the cost.
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ int debugfile_init (hashcat_ctx_t *hashcat_ctx)
|
||||
{
|
||||
fclose (fp);
|
||||
|
||||
event_log_error (hashcat_ctx, "%s: %m", debugfile_ctx->filename);
|
||||
event_log_error (hashcat_ctx, "%s: %s", debugfile_ctx->filename, strerror (errno));
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user