diff options
| author | Andre Noll <maan@tuebingen.mpg.de> | 2024-10-23 18:45:30 +0200 |
|---|---|---|
| committer | Andre Noll <maan@tuebingen.mpg.de> | 2025-03-23 19:13:50 +0100 |
| commit | 07b73ad8272084b706d18ee2286bf25711dbaabb (patch) | |
| tree | c79ef9a311120433f4ebe72dbbaa492bab449c19 /df.c | |
| parent | 5770e00c6e59528762be20610af6d8bd24d6872f (diff) | |
This essentially reverts commit 66cdd5bc99a5 which aimed to make the
dss log facility C89 conform. While this was a worthwhile goal in
2012, it has little value today, since in 2025 we can safely assume
a C99 compliant compiler.
The patch was created with
git revert -Xours 66cdd5bc
followed by manual tweaks to make it compile again.
Diffstat (limited to 'df.c')
| -rw-r--r-- | df.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ int get_disk_space(const char *path, struct disk_space *result) void log_disk_space(struct disk_space *ds) { - DSS_INFO_LOG(("free: %uM/%uM (%u%%), %u%% inodes unused\n", + DSS_INFO_LOG("free: %uM/%uM (%u%%), %u%% inodes unused\n", ds->free_mb, ds->total_mb, ds->percent_free, - ds->percent_free_inodes)); + ds->percent_free_inodes); } |
