diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-12-24 16:37:47 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-12-24 16:37:47 +0000 |
commit | 2a5186542c0004c0dc3aecc03c9fca5308018e01 (patch) | |
tree | 8c12bce5a35cfaa033e1f9dcf187da7e55621784 /usr.bin/rcs/rcsprog.c | |
parent | 81e211c5dba871fd0c497919524ec6c8e4bf25fd (diff) |
error message consistency in fatal();
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r-- | usr.bin/rcs/rcsprog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c index 29a0ff5facd..27bc3d81897 100644 --- a/usr.bin/rcs/rcsprog.c +++ b/usr.bin/rcs/rcsprog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsprog.c,v 1.56 2005/12/24 03:48:09 joris Exp $ */ +/* $OpenBSD: rcsprog.c,v 1.57 2005/12/24 16:37:46 xsa Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -284,7 +284,7 @@ rcs_statfile(char *fname, char *out, size_t len) } else { len1 = strlcpy(fpath, filev, sizeof(fpath)); if (len1 >= sizeof(fpath)) - fatal("path truncation in rcs_statfile"); + fatal("rcs_statfile: path truncation"); } if ((stat(fpath, &st) != -1) || (rcsflags & RCS_CREATE)) { @@ -308,7 +308,7 @@ rcs_statfile(char *fname, char *out, size_t len) len1 = strlcpy(out, fpath, len); if (len1 >= len) - fatal("path truncation in rcs_statfile"); + fatal("rcs_statfile: path truncation"); return (0); } |