Archived
1
0
Fork 0

remove new-line from error() calls.

This commit is contained in:
Henrik Hautakoski 2011-09-06 20:10:26 +02:00
parent 9767be013a
commit 90505d8e5b
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ int hold_lock(struct lockfile *lock, const char *filename, int force) {
lock->fd = open(lock->name, mask, 0600);
if (lock->fd < 0) {
return error(errno == EEXIST ?
"'%s' is locked\n" : "unable to create lockfile '%s'",
"'%s' is locked" : "unable to create lockfile '%s'",
lock->name);
}
lock->next = active_locks;