diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-03-08 09:04:00 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-03-08 09:04:00 +0000 |
commit | 1a90ae978767fadab123f86f3931c00ebb1632d3 (patch) | |
tree | ed63efe59b44a72512dcfcf89203ce1d97948316 /usr.bin/cvs/rcs.c | |
parent | e8f867e03e1052e3adedd671827c04abc11373cc (diff) |
really match gnu on error;
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r-- | usr.bin/cvs/rcs.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 2a3a8844857..190d445c966 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.138 2006/03/08 05:01:50 deraadt Exp $ */ +/* $OpenBSD: rcs.c,v 1.139 2006/03/08 09:03:59 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -2559,7 +2559,8 @@ rcs_expand_keywords(char *rcsfile, struct rcs_delta *rdp, char *data, case '+': break; default: - fatal("not a known time zone"); + fatal("%s: not a known time zone", + timezone_flag); } h = timezone_flag; @@ -2572,7 +2573,8 @@ rcs_expand_keywords(char *rcsfile, struct rcs_delta *rdp, char *data, tzone = atoi(h); if (tzone >= 24 && tzone <= -24) - fatal("not a known time zone"); + fatal("%s: not a known time zone", + timezone_flag); tb->tm_hour += tzone; if (tb->tm_hour >= 24 && tb->tm_hour <= -24) @@ -2583,7 +2585,8 @@ rcs_expand_keywords(char *rcsfile, struct rcs_delta *rdp, char *data, if (m != NULL) { tzone = atoi(m); if (tzone >= 60) - fatal("not a known time zone"); + fatal("%s: not a known time zone", + timezone_flag); if ((tb->tm_min + tzone) >= 60) { tb->tm_hour++; |