X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=df.c;h=7fb319e0ba866746d7e223a4114b0f4f986dc17e;hp=003becccddebe5231289afb63c5c527c550357b1;hb=HEAD;hpb=8daf8f3836e745ba07f1aa01252279588574c95a diff --git a/df.c b/df.c index 003becc..7fb319e 100644 --- a/df.c +++ b/df.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2008-2010 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include @@ -18,7 +14,7 @@ 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;