X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=df.c;h=82d14ba9863a5975fd0b9ef46313ec5fd720becf;hb=c9fd9f2239319b95c46e49b1b7040e1a898cdcf7;hp=6074f251c764c0e04f216d45f4aa51a72fc47d5c;hpb=66cdd5bc99a53d2b408a6cdc2d501fe27f9db13b;p=dss.git diff --git a/df.c b/df.c index 6074f25..82d14ba 100644 --- a/df.c +++ b/df.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2010 Andre Noll + * Copyright (C) 2008-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -12,13 +12,13 @@ #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) { - /* using floats allows to not care about integer overflows */ + /* With floats we don't need to care about integer overflows. */ float total_blocks, available_blocks, blocksize; float total_inodes, available_inodes;