X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=coreutils%2Fsplit.c;h=d1eb82955b93054f3957519d35f56a8bea6c28de;hb=a0319ba936236433e6b8c3a96e890c3531effbc9;hp=27f9cfdd6a13e343eab9380d437b9392c8416498;hpb=b6adbf1be29841501cc49917249e85f273e1df7c;p=oweals%2Fbusybox.git diff --git a/coreutils/split.c b/coreutils/split.c index 27f9cfdd6..d1eb82955 100644 --- a/coreutils/split.c +++ b/coreutils/split.c @@ -20,7 +20,7 @@ static const struct suffix_mult split_suffices[] = { #if ENABLE_FEATURE_SPLIT_FANCY { "g", 1024*1024*1024 }, #endif - { NULL, 0 } + { } }; /* Increment the suffix part of the filename. @@ -49,7 +49,7 @@ static char *next_file(char *old, unsigned suffix_len) } #define read_buffer bb_common_bufsiz1 -enum { READ_BUFFER_SIZE = sizeof(bb_common_bufsiz1) - 1 }; +enum { READ_BUFFER_SIZE = COMMON_BUFSIZE - 1 }; #define SPLIT_OPT_l (1<<0) #define SPLIT_OPT_b (1<<1)