summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/sed-opal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/sed-opal.c b/block/sed-opal.c
index 5cb8034b53c8..1f246200b574 100644
--- a/block/sed-opal.c
+++ b/block/sed-opal.c
@@ -394,8 +394,8 @@ static int next(struct opal_dev *dev)
error = step->fn(dev, step->data);
if (error) {
- pr_debug("Error on step function: %d with error %d: %s\n",
- state, error,
+ pr_debug("Step %d (%pS) failed with error %d: %s\n",
+ state, step->fn, error,
opal_error_to_human(error));
/* For each OPAL command we do a discovery0 then we