diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-06-14 02:34:28 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-06-14 02:34:28 +0000 |
commit | 64e9ac8f3fef68e3707444bb5c84c1fb26762dd8 (patch) | |
tree | 78176116aacaa91d74c69ab498128ac912e99340 /usr.bin/cvs/add.c | |
parent | 39bf0ad16e634ef2ae9f5a8137e199639e1afd14 (diff) |
No need to add \n at the end of format string for a fatal call.
Diffstat (limited to 'usr.bin/cvs/add.c')
-rw-r--r-- | usr.bin/cvs/add.c | 6 |
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); |