diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-07-29 19:20:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-07-30 15:17:08 +0200 |
commit | c8f3d7672c4c7ee7d396548f8850154f23a3d305 (patch) | |
tree | f3a38bfc828b90f6aa7c5e9c5cf11ab8d2a05aa2 /src/partition | |
parent | added alternative version of SurfTab Twin (diff) | |
download | systemd-c8f3d7672c4c7ee7d396548f8850154f23a3d305.tar.xz systemd-c8f3d7672c4c7ee7d396548f8850154f23a3d305.zip |
repart: log fixes
Diffstat (limited to 'src/partition')
-rw-r--r-- | src/partition/repart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partition/repart.c b/src/partition/repart.c index 69df751563..2e5f5d1345 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -952,7 +952,7 @@ static int config_parse_weight( } if (v > 1000U*1000U) { - log_syntax(unit, LOG_WARNING, filename, line, r, + log_syntax(unit, LOG_WARNING, filename, line, 0, "Weight needs to be in range 0…10000000, ignoring: %" PRIu32, v); return 0; } @@ -981,7 +981,7 @@ static int config_parse_size4096( r = parse_size(rvalue, 1024, &parsed); if (r < 0) - return log_syntax(unit, LOG_WARNING, filename, line, r, + return log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse size value: %s", rvalue); if (ltype > 0) |