tweaks: rewrap two lines, for consistency with similar lines
parent
99f0265d34
commit
4687322398
|
@ -214,8 +214,8 @@ int write_lockfile(const char *lockfilename, const char *origfilename, bool modi
|
||||||
filestream = fdopen(fd, "wb");
|
filestream = fdopen(fd, "wb");
|
||||||
|
|
||||||
if (filestream == NULL) {
|
if (filestream == NULL) {
|
||||||
statusline(MILD, _("Error writing lock file %s: %s"), lockfilename,
|
statusline(MILD, _("Error writing lock file %s: %s"),
|
||||||
strerror(errno));
|
lockfilename, strerror(errno));
|
||||||
goto free_the_data;
|
goto free_the_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -281,8 +281,8 @@ int write_lockfile(const char *lockfilename, const char *origfilename, bool modi
|
||||||
int delete_lockfile(const char *lockfilename)
|
int delete_lockfile(const char *lockfilename)
|
||||||
{
|
{
|
||||||
if (unlink(lockfilename) < 0 && errno != ENOENT) {
|
if (unlink(lockfilename) < 0 && errno != ENOENT) {
|
||||||
statusline(MILD, _("Error deleting lock file %s: %s"), lockfilename,
|
statusline(MILD, _("Error deleting lock file %s: %s"),
|
||||||
strerror(errno));
|
lockfilename, strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue