summaryrefslogtreecommitdiffstats
path: root/sys/dev/ofw/ofw_standard.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ofw/ofw_standard.c')
-rw-r--r--sys/dev/ofw/ofw_standard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_standard.c b/sys/dev/ofw/ofw_standard.c
index e097145..a05f072 100644
--- a/sys/dev/ofw/ofw_standard.c
+++ b/sys/dev/ofw/ofw_standard.c
@@ -204,7 +204,7 @@ ofw_std_interpret(ofw_t ofw, const char *cmd, int nreturns,
}
status = args.slot[i++];
while (i < 1 + nreturns)
- returns[j] = args.slot[i++];
+ returns[j++] = args.slot[i++];
return (status);
}
OpenPOWER on IntegriCloud