diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-04-21 14:18:27 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-04-21 14:18:27 +0000 |
commit | 86ca2919d351c05fada03add61b120b8b760dd14 (patch) | |
tree | 598d0bff7bf1b66c4cb8b3403bdc605c654e1595 /usr.bin/rcs/rlog.c | |
parent | e8806b7d10ee49c9ab9848adc572b5434ffbf95f (diff) |
remove overkill cvs_log() and rather use warn()/warnx().
OK ray@ and discussed with joris@.
Diffstat (limited to 'usr.bin/rcs/rlog.c')
-rw-r--r-- | usr.bin/rcs/rlog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rlog.c b/usr.bin/rcs/rlog.c index 6283884a17b..d8af2d79989 100644 --- a/usr.bin/rcs/rlog.c +++ b/usr.bin/rcs/rlog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rlog.c,v 1.47 2006/04/19 06:53:41 xsa Exp $ */ +/* $OpenBSD: rlog.c,v 1.48 2006/04/21 14:18:26 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> @@ -126,13 +126,13 @@ rlog_main(int argc, char **argv) argv += rcs_optind; if (argc == 0) { - cvs_log(LP_ERR, "no input file"); + warnx("no input file"); (usage)(); exit(1); } if (hflag == 1 && tflag == 1) { - cvs_log(LP_WARN, "warning: -t overrides -h."); + warnx("warning: -t overrides -h."); hflag = 0; } |