if the static text is split across multiple lines, that makes
it much harder to grep the source code for error messages.
}
if (fchmod(fd, mode) < 0) {
- fr_strerror_printf("Failed setting permissions on "
- "directory we created: %s", fr_syserror(errno));
+ fr_strerror_printf("Failed setting permissions on directory "
+ "we created: %s", fr_syserror(errno));
close(fd);
goto mkdir_error;
}
* fr_mkdir before calling this function.
*/
if (errno != ENOENT) {
- fr_strerror_printf("Unexpected error creating "
- "directory: %s", fr_syserror(errno));
+ fr_strerror_printf("Unexpected error creating directory: %s",
+ fr_syserror(errno));
goto mkdir_error;
}