diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-10-20 17:10:02 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-10-20 17:10:02 +0000 |
commit | 8fbf59e12776917f02d95b83d5e3a2f364f6fc4f (patch) | |
tree | 7920dc943bd4ba44c0796674fff71878c07f4d41 | |
parent | 84ab35ffa514f364e261af1ac5c7af2d29bf968b (diff) |
fix output if -p is specified; joris ok
-rw-r--r-- | usr.bin/rcs/co.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c index 09d2fd423cb..66dc1525469 100644 --- a/usr.bin/rcs/co.c +++ b/usr.bin/rcs/co.c @@ -1,4 +1,4 @@ -/* $OpenBSD: co.c,v 1.21 2005/10/19 11:37:11 niallo Exp $ */ +/* $OpenBSD: co.c,v 1.22 2005/10/20 17:10:01 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -105,7 +105,8 @@ checkout_main(int argc, char **argv) continue; if (verbose == 1) - printf("%s <-- %s\n", fpath, argv[i]); + printf("%s --> %s\n", fpath, + (pipeout == 1) ? "standard output" : argv[i]); if ((file = rcs_open(fpath, RCS_RDWR)) == NULL) continue; |