summaryrefslogtreecommitdiffhomepage
path: root/dbutil.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 /dbutil.c
parent1e4ed404c500c4bf01300a9efe7e2fb329dc3b02 (diff)
Improve capitalisation for all logged strings
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
Diffstat (limited to 'dbutil.c')
-rw-r--r--dbutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbutil.c b/dbutil.c
index 9fd90d1..b3a119f 100644
--- a/dbutil.c
+++ b/dbutil.c
@@ -111,7 +111,7 @@ static void generic_dropbear_exit(int exitcode, const char* format,
}
void fail_assert(const char* expr, const char* file, int line) {
- dropbear_exit("failed assertion (%s:%d): `%s'", file, line, expr);
+ dropbear_exit("Failed assertion (%s:%d): `%s'", file, line, expr);
}
static void generic_dropbear_log(int UNUSED(priority), const char* format,
@@ -455,7 +455,7 @@ int spawn_command(void(*exec_fn)(void *user_data), void *exec_data,
(dup2(outfds[FDOUT], STDOUT_FILENO) < 0) ||
(ret_errfd && dup2(errfds[FDOUT], STDERR_FILENO) < 0)) {
TRACE(("leave noptycommand: error redirecting FDs"))
- dropbear_exit("child dup2() failure");
+ dropbear_exit("Child dup2() failure");
}
close(infds[FDOUT]);