Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2041f657 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

[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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent e402e38c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -182,7 +182,7 @@ int ibm_partition(struct parsed_partitions *state)
				offset = (info->label_block + 1);
				offset = (info->label_block + 1);
			} else {
			} else {
				/* unlabeled disk */
				/* unlabeled disk */
				strlcat(tmp, sizeof(tmp), "(nonl)", PAGE_SIZE);
				strlcat(state->pp_buf, "(nonl)", PAGE_SIZE);
				size = i_size >> 9;
				size = i_size >> 9;
				offset = (info->label_block + 1);
				offset = (info->label_block + 1);
			}
			}