Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[S390] partitions: fix build error in ibm partition detection code

9c867fbe "partitions: fix sometimes unreadable partition strings" coverted
one line within the ibm partition code incorrectly. Fix this to get rid of
a build error.

fs/partitions/ibm.c: In function 'ibm_partition':
[...]
fs/partitions/ibm.c:185: error: too many arguments to function 'strlcat'

Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
2041f657 e402e38c

+1 -1
+1 -1
fs/partitions/ibm.c
··· 182 182 offset = (info->label_block + 1); 183 183 } else { 184 184 /* unlabeled disk */ 185 - strlcat(tmp, sizeof(tmp), "(nonl)", PAGE_SIZE); 185 + strlcat(state->pp_buf, "(nonl)", PAGE_SIZE); 186 186 size = i_size >> 9; 187 187 offset = (info->label_block + 1); 188 188 }