diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-10-05 00:44:20 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-10-05 00:44:20 +0000 |
commit | bda0b04f302dec4f33c3e8204b8b4de99c882846 (patch) | |
tree | 953e23cc89c4aee0d66678c7bf9602a922fee141 /usr.bin/rcs/co.c | |
parent | ed6b3a9323eda5a9f947143ff7448278671944cd (diff) |
- better output
- free frev when done
Diffstat (limited to 'usr.bin/rcs/co.c')
-rw-r--r-- | usr.bin/rcs/co.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c index 5a4077b94b8..89794c4416c 100644 --- a/usr.bin/rcs/co.c +++ b/usr.bin/rcs/co.c @@ -1,4 +1,4 @@ -/* $OpenBSD: co.c,v 1.4 2005/10/04 23:04:33 joris Exp $ */ +/* $OpenBSD: co.c,v 1.5 2005/10/05 00:44:19 joris Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -151,9 +151,6 @@ checkout_main(int argc, char **argv) cvs_log(LP_ERR, "failed to lock '%s'", buf); else cvs_log(LP_WARN, "you already have a lock"); - } else { - if (verbose) - printf("(locked)"); } } else if (lock == LOCK_UNLOCK) { if (rcs_lock_remove(file, frev) < 0) { @@ -172,7 +169,7 @@ checkout_main(int argc, char **argv) } if (rev != RCS_HEAD_REV) - rcsnum_free(rev); + rcsnum_free(frev); return (0); } |