diff --git a/fs/partitions/ibm.c b/fs/partitions/ibm.c index d1b8a5c4bc0aa556f1eff3183d1a49530bbc0da1..d513a07f44bb54805de9adf7171c0991aa4ab309 100644 --- a/fs/partitions/ibm.c +++ b/fs/partitions/ibm.c @@ -182,7 +182,7 @@ int ibm_partition(struct parsed_partitions *state) offset = (info->label_block + 1); } else { /* unlabeled disk */ - strlcat(tmp, sizeof(tmp), "(nonl)", PAGE_SIZE); + strlcat(state->pp_buf, "(nonl)", PAGE_SIZE); size = i_size >> 9; offset = (info->label_block + 1); }