[patch] 4TB+ support with df on 32 bits arch

Denys Vlasenko vda.linux at googlemail.com
Fri Feb 23 16:10:36 UTC 2018


Applied, thanks

On Fri, Feb 23, 2018 at 3:05 PM, Pascal Bellard
<pascal.bellard at ads-lu.com> wrote:
> Hello,
>
> Form
> http://hg.slitaz.org/wok/file/014f8d1188e8/busybox/stuff/busybox-1.27-df.u
> :
>
> 4TB+ support
> --- busybox-1.28.1/coreutils/df.c
> +++ busybox-1.28.1/coreutils/df.c
> @@ -91,7 +91,7 @@
>  int df_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
>  int df_main(int argc UNUSED_PARAM, char **argv)
>  {
> - unsigned long blocks_used;
> + unsigned long long blocks_used;
>  unsigned blocks_percent_used;
>  unsigned long df_disp_hr = 1024;
>  int status = EXIT_SUCCESS;
>
> Regards,
>
> -pascal
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list