summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobias <tobias@openbsd.org>2008-06-14 02:34:27 +0000
committertobias <tobias@openbsd.org>2008-06-14 02:34:27 +0000
commitf3f01591eba9c34b18d09cdfa87b7f97fe59a8b9 (patch)
tree4258b83898f4aba02d8f59b917077f501a71faa8
parentAllow ath(4) to detach cleanly when attaching via PCI. Also (diff)
downloadwireguard-openbsd-f3f01591eba9c34b18d09cdfa87b7f97fe59a8b9.tar.xz
wireguard-openbsd-f3f01591eba9c34b18d09cdfa87b7f97fe59a8b9.zip
No need to add \n at the end of format string for a fatal call.
-rw-r--r--usr.bin/cvs/add.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c
index 292f6f21498..1023209ce32 100644
--- a/usr.bin/cvs/add.c
+++ b/usr.bin/cvs/add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: add.c,v 1.101 2008/06/14 00:55:31 tobias Exp $ */
+/* $OpenBSD: add.c,v 1.102 2008/06/14 02:34:27 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -349,7 +349,7 @@ add_file(struct cvs_file *cf)
if (cf->file_rcs != NULL) {
head = rcs_head_get(cf->file_rcs);
if (head == NULL)
- fatal("RCS head empty or missing in %s\n",
+ fatal("RCS head empty or missing in %s",
cf->file_rcs->rf_path);
rcsnum_tostr(head, revbuf, sizeof(revbuf));
rcsnum_free(head);
@@ -374,7 +374,7 @@ add_file(struct cvs_file *cf)
/* Restore the file. */
head = rcs_head_get(cf->file_rcs);
if (head == NULL)
- fatal("RCS head empty or missing in %s\n",
+ fatal("RCS head empty or missing in %s",
cf->file_rcs->rf_path);
cvs_checkout_file(cf, head, NULL, 0);
rcsnum_free(head);