mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 21:32:58 +00:00
MFC r316740:
Clarify `minfree` warning message in check_space(..) - State that the units are kB. - Be more complete/concise in terms of what is required (in this case `minfree` must be at least `X`kB)
This commit is contained in:
parent
3df1162dbc
commit
9a83895417
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=319305
@ -277,7 +277,8 @@ check_space(const char *savedir, off_t dumpsize, int bounds)
|
||||
needed -= saved_dump_size(bounds);
|
||||
if ((minfree > 0 ? spacefree : totfree) - needed < minfree) {
|
||||
syslog(LOG_WARNING,
|
||||
"no dump, not enough free space on device (%lld available, need %lld)",
|
||||
"no dump: not enough free space on device (%lldkB "
|
||||
"available; need at least %lldkB)",
|
||||
(long long)(minfree > 0 ? spacefree : totfree),
|
||||
(long long)needed);
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user