Skip to content

Commit

Permalink
Use strerror(errno)
Browse files Browse the repository at this point in the history
  • Loading branch information
zdohnal committed Aug 29, 2023
1 parent 2357fec commit 93e9991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ cupsdReadConfiguration(void)
cupsdLogMessage(CUPSD_LOG_INFO, "No %s, using defaults.", CupsFilesFile);
else
{
fprintf(stderr, "Unable to read \"%s\" due to errors.\n", CupsFilesFile);
fprintf(stderr, "Unable to read \"%s\" - \"%s\".\n", CupsFilesFile, strerror(errno));

return (0);
}
Expand Down

0 comments on commit 93e9991

Please sign in to comment.