mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make savecore(8) output nicer by specifying the maximum field width
instead of minimum one (precision instead of width). MFC after: 2 weeks Sponsored by: DARPA, AFRL
This commit is contained in:
parent
91d226ca26
commit
6f03f3d85c
1 changed files with 1 additions and 1 deletions
|
|
@ -651,7 +651,7 @@ DoFile(const char *savedir, const char *device)
|
|||
}
|
||||
|
||||
if (kdhl.panicstring[0] != '\0')
|
||||
syslog(LOG_ALERT, "reboot after panic: %*s",
|
||||
syslog(LOG_ALERT, "reboot after panic: %.*s",
|
||||
(int)sizeof(kdhl.panicstring), kdhl.panicstring);
|
||||
else
|
||||
syslog(LOG_ALERT, "reboot");
|
||||
|
|
|
|||
Loading…
Reference in a new issue