summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/client.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2007-09-17 18:36:55 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2007-09-17 18:36:55 +0000
commit7df6ae7a138cef7efa64b0a7c3a633e3c5e83ce3 (patch)
tree27e81c6a25539d46369714c866dbeb260a0446e6 /usr.bin/cvs/client.c
parent93c6079912cf83ba58dc300341a108bd8257b13c (diff)
Print error messages sent by server on stderr. While at it, replaced
cvs_printf in cvs_client_m with puts (no need of cvs_printf's abilities here). OK joris@
Diffstat (limited to 'usr.bin/cvs/client.c')
-rw-r--r--usr.bin/cvs/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index c1ededca87d..0a3e9ce9842 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.79 2007/09/10 19:11:08 joris Exp $ */
+/* $OpenBSD: client.c,v 1.80 2007/09/17 18:36:54 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -580,7 +580,7 @@ cvs_client_e(char *data)
if (data == NULL)
fatal("Missing argument for E");
- cvs_printf("%s\n", data);
+ fprintf(stderr, "%s\n", data);
}
void
@@ -589,7 +589,7 @@ cvs_client_m(char *data)
if (data == NULL)
fatal("Missing argument for M");
- cvs_printf("%s\n", data);
+ puts(data);
}
void