summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 423d7855..50bfdf64 100644
--- a/parser.c
+++ b/parser.c
@@ -107,7 +107,7 @@ static int prefix_slot(int prefix)
case P_VEX2:
return PPS_VEX;
default:
- nasm_error(ERR_PANIC, "Invalid value %d passed to prefix_slot()", prefix);
+ nasm_panic(0, "Invalid value %d passed to prefix_slot()", prefix);
return -1;
}
}