X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=df.c;h=1c2531f9980f31bfb0731805ecd1bd7f5d88e326;hb=ddd930000a7015369135258993be63c1a288fbf9;hp=37e2b4317a01448cc8e255d30ca3534bf644940e;hpb=2be48c0ac582aca639003528eeae2250af42471b;p=dss.git diff --git a/df.c b/df.c index 37e2b43..1c2531f 100644 --- a/df.c +++ b/df.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2009 Andre Noll + * Copyright (C) 2008-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -12,8 +12,8 @@ #include "gcc-compat.h" #include "log.h" -#include "error.h" -#include "string.h" +#include "err.h" +#include "str.h" #include "df.h" int get_disk_space(const char *path, struct disk_space *result) @@ -42,7 +42,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)); }