Archived
1
0
Fork 0

dlhist.c: don't include '\n' in calls to error()

This commit is contained in:
Henrik Hautakoski 2012-07-31 11:59:41 +02:00
parent 4a8fcb6062
commit b65c9e74aa

View file

@ -265,7 +265,7 @@ int dlhist_open() {
hdr = (struct header *) buf;
if (hdr->signature != htonl(SIGNATURE) ||
hdr->version != htonl(1)) {
error("dlhist_open: Invalid header\n");
error("dlhist_open: Invalid header");
goto error;
}
@ -433,7 +433,7 @@ void dlhist_flush() {
commit_lock(&lock);
return;
error:
error("dlhist_flush: partial write\n");
error("dlhist_flush: partial write");
}
void dlhist_close() {