summaryrefslogtreecommitdiffhomepage
path: root/svr-agentfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-02-23 15:50:30 +0000
committerMatt Johnston <matt@ucc.asn.au>2011-02-23 15:50:30 +0000
commit38ed870ffeea569f6da1e615685147a84f231cf3 (patch)
treecc0c3378b7e231df6b44c881d10235c313478a60 /svr-agentfwd.c
parent1e4ed404c500c4bf01300a9efe7e2fb329dc3b02 (diff)
Improve capitalisation for all logged strings
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
Diffstat (limited to 'svr-agentfwd.c')
-rw-r--r--svr-agentfwd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/svr-agentfwd.c b/svr-agentfwd.c
index 940c4b7..ef0d757 100644
--- a/svr-agentfwd.c
+++ b/svr-agentfwd.c
@@ -161,7 +161,7 @@ void svr_agentcleanup(struct ChanSess * chansess) {
gid = getgid();
if ((setegid(ses.authstate.pw_gid)) < 0 ||
(seteuid(ses.authstate.pw_uid)) < 0) {
- dropbear_exit("failed to set euid");
+ dropbear_exit("Failed to set euid");
}
/* 2 for "/" and "\0" */
@@ -176,7 +176,7 @@ void svr_agentcleanup(struct ChanSess * chansess) {
if ((seteuid(uid)) < 0 ||
(setegid(gid)) < 0) {
- dropbear_exit("failed to revert euid");
+ dropbear_exit("Failed to revert euid");
}
m_free(chansess->agentfile);
@@ -224,7 +224,7 @@ static int bindagent(int fd, struct ChanSess * chansess) {
gid = getgid();
if ((setegid(ses.authstate.pw_gid)) < 0 ||
(seteuid(ses.authstate.pw_uid)) < 0) {
- dropbear_exit("failed to set euid");
+ dropbear_exit("Failed to set euid");
}
memset((void*)&addr, 0x0, sizeof(addr));
@@ -267,7 +267,7 @@ bindsocket:
out:
if ((seteuid(uid)) < 0 ||
(setegid(gid)) < 0) {
- dropbear_exit("failed to revert euid");
+ dropbear_exit("Failed to revert euid");
}
return ret;
}