=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/version.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/cvs/version.c 2005/05/24 04:12:25 1.11 --- src/usr.bin/cvs/version.c 2005/05/25 06:02:00 1.12 *************** *** 1,4 **** ! /* $OpenBSD: version.c,v 1.11 2005/05/24 04:12:25 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: version.c,v 1.12 2005/05/25 06:02:00 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 34,39 **** --- 34,40 ---- #include "cvs.h" #include "proto.h" + #include "log.h" static int cvs_version_sendflags (struct cvsroot *); *************** *** 59,68 **** { if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL)) printf("Client: "); ! printf("%s\n", CVS_VERSION); if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL)) { ! printf("Server: %s\n", root->cr_version == NULL ? "(unknown)" : root->cr_version); } --- 60,69 ---- { if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL)) printf("Client: "); ! cvs_printf("%s\n", CVS_VERSION); if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL)) { ! cvs_printf("Server: %s\n", root->cr_version == NULL ? "(unknown)" : root->cr_version); }