Added new line before printing secured messages. For quint/triple tests, the secured message

might print on a progress line, which makes test161 fail.
This commit is contained in:
Scott Haseley 2016-04-06 13:27:51 -04:00
parent e0fc622e00
commit 16bfdcf406

View File

@ -93,9 +93,9 @@ secprintf(const char * secret, const char * msg, const char * name)
(void)secret; (void)secret;
#ifdef _KERNEL #ifdef _KERNEL
return kprintf("%s: %s\n", name, msg); return kprintf("\n%s: %s\n", name, msg);
#else #else
return say("%s: %s\n", name, msg); return say("\n%s: %s\n", name, msg);
#endif #endif
} }
@ -133,9 +133,9 @@ secprintf(const char * secret, const char * msg, const char * name)
} }
#ifdef _KERNEL #ifdef _KERNEL
res = kprintf("(%s, %s, %s, %s: %s)\n", name, hash, salt, name, msg); res = kprintf("\n(%s, %s, %s, %s: %s)\n", name, hash, salt, name, msg);
#else #else
res = say("(%s, %s, %s, %s: %s)\n", name, hash, salt, name, msg); res = say("\n(%s, %s, %s, %s: %s)\n", name, hash, salt, name, msg);
#endif #endif
out: out: