diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-07-07 14:27:58 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-07-07 14:27:58 +0000 |
commit | 783839c81765c1d9dba3662d9e81f2fd3959f139 (patch) | |
tree | c7e89f8aec1bcdcf28f7713aec4a702a9e1f4188 /usr.bin/cvs/buf.c | |
parent | a1b79960d99297510a8abae0e45691a242bc5463 (diff) |
remove trailing whitespaces
from deraadt@
Diffstat (limited to 'usr.bin/cvs/buf.c')
-rw-r--r-- | usr.bin/cvs/buf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/buf.c b/usr.bin/cvs/buf.c index 6980b389682..1f2ffdd9c57 100644 --- a/usr.bin/cvs/buf.c +++ b/usr.bin/cvs/buf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.c,v 1.12 2005/06/02 07:16:38 xsa Exp $ */ +/* $OpenBSD: buf.c,v 1.13 2005/07/07 14:27:57 joris Exp $ */ /* * Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -414,7 +414,7 @@ cvs_buf_write(BUF *b, const char *path, mode_t mode) fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, mode); if (fd == -1) { - cvs_log(LP_ERRNO, "failed to open file `%s'", path); + cvs_log(LP_ERRNO, "failed to open file `%s'", path); return (-1); } @@ -431,7 +431,7 @@ cvs_buf_write(BUF *b, const char *path, mode_t mode) /* * cvs_buf_write_stmp() * - * Write the contents of the buffer <b> to a temporary file whose path is + * Write the contents of the buffer <b> to a temporary file whose path is * specified using <template> (see mkstemp.3). NB. This function will modify * <template>, as per mkstemp */ @@ -443,14 +443,14 @@ cvs_buf_write_stmp(BUF *b, char *template, mode_t mode) fd = mkstemp(template); if (fd == -1) { - cvs_log(LP_ERRNO, "failed to mkstemp file `%s': %s", + cvs_log(LP_ERRNO, "failed to mkstemp file `%s': %s", template, strerror(errno)); return (-1); } ret = cvs_buf_write_fd(b, fd); if (ret == -1) { - cvs_log(LP_ERRNO, "failed to write to temp file `%s': %s", + cvs_log(LP_ERRNO, "failed to write to temp file `%s': %s", template, strerror(errno)); (void)unlink(template); } |