diff options
author | 2005-10-05 00:44:19 +0000 | |
---|---|---|
committer | 2005-10-05 00:44:19 +0000 | |
commit | 2ff28a7a846b2682d24ca23e57aeeda289f4a5a3 (patch) | |
tree | 50134f7cddd7c97b68ea9be594f6914a8f60f0cb | |
parent | Sync with new aicasm.c. No functional change. (diff) | |
download | wireguard-openbsd-2ff28a7a846b2682d24ca23e57aeeda289f4a5a3.tar.xz wireguard-openbsd-2ff28a7a846b2682d24ca23e57aeeda289f4a5a3.zip |
- better output
- free frev when done
-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); } |