summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/ia64/ia64/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index 2faa954..6d29237 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -750,7 +750,7 @@ ia64_init(u_int64_t arg1, u_int64_t arg2)
/* Remove the last segment if it now has no pages. */
if (phys_avail[i] == phys_avail[i+1]) {
phys_avail[i] = 0;
- phys_avail[i+] = 0;
+ phys_avail[i+1] = 0;
}
/* warn if the message buffer had to be shrunk */
OpenPOWER on IntegriCloud