diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-08-13 04:06:43 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-08-13 04:06:55 -0400 |
commit | 2041f657aa4dc77afd63bbb34b34ed9476cf9ab9 (patch) | |
tree | 41daa865d0fffaf5ae9215614262aaa8500d5b33 /fs/partitions | |
parent | e402e38c6b148febf8c3c39546e24584eaa23e42 (diff) |
[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>
Diffstat (limited to 'fs/partitions')
-rw-r--r-- | fs/partitions/ibm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/partitions/ibm.c b/fs/partitions/ibm.c index d1b8a5c4bc0a..d513a07f44bb 100644 --- a/fs/partitions/ibm.c +++ b/fs/partitions/ibm.c | |||
@@ -182,7 +182,7 @@ int ibm_partition(struct parsed_partitions *state) | |||
182 | offset = (info->label_block + 1); | 182 | offset = (info->label_block + 1); |
183 | } else { | 183 | } else { |
184 | /* unlabeled disk */ | 184 | /* unlabeled disk */ |
185 | strlcat(tmp, sizeof(tmp), "(nonl)", PAGE_SIZE); | 185 | strlcat(state->pp_buf, "(nonl)", PAGE_SIZE); |
186 | size = i_size >> 9; | 186 | size = i_size >> 9; |
187 | offset = (info->label_block + 1); | 187 | offset = (info->label_block + 1); |
188 | } | 188 | } |