diff options
Diffstat (limited to 'common/blspec.c')
-rw-r--r-- | common/blspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/blspec.c b/common/blspec.c index ab18602715..d5ddb4fbbd 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -646,7 +646,7 @@ static int blspec_append_root(struct blspec_entry *entry) rootarg = path_get_linux_rootarg(entry->rootpath); if (IS_ERR(rootarg)) { pr_err("Getting root argument for %s failed with: %s\n", - entry->rootpath, strerror(-PTR_ERR(rootarg))); + entry->rootpath, strerrorp(rootarg)); return PTR_ERR(rootarg); } |