summaryrefslogtreecommitdiffstats
path: root/lib/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/log.c b/lib/log.c
index 68f172cdf..28e086535 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -411,7 +411,7 @@ void zlog_signal(int signo, const char *action
,
siginfo_t *siginfo, void *program_counter
#endif
-)
+ )
{
time_t now;
char buf[sizeof("DEFAULT: Received signal S at T (si_addr 0xP, PC 0xP); aborting...")
@@ -474,7 +474,7 @@ void zlog_signal(int signo, const char *action
#else
NULL
#endif
- );
+ );
s = buf;
struct thread *tc;
@@ -1063,9 +1063,10 @@ void zlog_hexdump(const void *mem, unsigned int len)
printing */
s += sprintf(s, " ");
- else if (isprint((int)((const char *)mem)
- [j])) /* printable char
- */
+ else if (
+ isprint((int)((const char *)mem)
+ [j])) /* printable char
+ */
s += sprintf(
s, "%c",
0xFF & ((const char *)mem)[j]);