aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Bur <cyril.bur@au1.ibm.com>2018-03-15 16:58:27 +1100
committerStewart Smith <stewart@linux.ibm.com>2018-04-09 03:45:23 -0500
commitc92905e1c139ac2d9cc211f51c68860589c4b656 (patch)
tree26f78700a94149ba8b93569a1b129a47b4c2351c
parent14cefe11f745a1d929263d4c033610b5bc4b4aa8 (diff)
downloadskiboot-c92905e1c139ac2d9cc211f51c68860589c4b656.zip
skiboot-c92905e1c139ac2d9cc211f51c68860589c4b656.tar.gz
skiboot-c92905e1c139ac2d9cc211f51c68860589c4b656.tar.bz2
external/ffspart: Improve error output
Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--external/ffspart/ffspart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/ffspart/ffspart.c b/external/ffspart/ffspart.c
index 7fd78e9..d737e30 100644
--- a/external/ffspart/ffspart.c
+++ b/external/ffspart/ffspart.c
@@ -226,8 +226,8 @@ static int parse_entry(struct blocklevel_device *bl,
}
rc = ffs_entry_add(tocs[toc], new_entry);
if (rc) {
- fprintf(stderr, "Couldn't add '%s' parition to TOC %d\n",
- name, toc);
+ fprintf(stderr, "Couldn't add '%s' partition to TOC %d: %d\n",
+ name, toc, rc);
ffs_entry_put(new_entry);
return rc;
}