summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/server.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-01-29 12:01:53 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-01-29 12:01:53 +0000
commit4355b5ab720847f0a02913a16e5884ea7910ef61 (patch)
treeb7c5373651fdfea9f47039b1454cec9de5b45045 /usr.bin/cvs/server.c
parent45bf4d2fc3c8f701b451f221fe69898faa5e9bc3 (diff)
Fixed function name in fatal calls. While at it, adjusted style.
> Diff from Igor Zinovik
Diffstat (limited to 'usr.bin/cvs/server.c')
-rw-r--r--usr.bin/cvs/server.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c
index 2264a86d120..f17b5864132 100644
--- a/usr.bin/cvs/server.c
+++ b/usr.bin/cvs/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.76 2008/01/21 16:36:46 tobias Exp $ */
+/* $OpenBSD: server.c,v 1.77 2008/01/29 12:01:52 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -554,7 +554,8 @@ cvs_server_commit(char *data)
void
cvs_server_checkout(char *data)
-{ if (chdir(server_currentdir) == -1)
+{
+ if (chdir(server_currentdir) == -1)
fatal("cvs_server_checkout: %s", strerror(errno));
cvs_cmdop = CVS_OP_CHECKOUT;
@@ -575,8 +576,9 @@ cvs_server_diff(char *data)
void
cvs_server_export(char *data)
-{ if (chdir(server_currentdir) == -1)
- fatal("cvs_server_checkout: %s", strerror(errno));
+{
+ if (chdir(server_currentdir) == -1)
+ fatal("cvs_server_export: %s", strerror(errno));
cvs_cmdop = CVS_OP_EXPORT;
cvs_checkout(server_argc, server_argv);
@@ -670,7 +672,7 @@ void
cvs_server_rtag(char *data)
{
if (chdir(current_cvsroot->cr_dir) == -1)
- fatal("cvs_server_rlog: %s", strerror(errno));
+ fatal("cvs_server_rtag: %s", strerror(errno));
cvs_cmdop = CVS_OP_RTAG;
cvs_tag(server_argc, server_argv);