summaryrefslogtreecommitdiffabout
path: root/mfd/prog.c
Side-by-side diff
Diffstat (limited to 'mfd/prog.c') (more/less context) (show whitespace changes)
-rw-r--r--mfd/prog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mfd/prog.c b/mfd/prog.c
index 90a426e..f8e58a9 100644
--- a/mfd/prog.c
+++ b/mfd/prog.c
@@ -1489,5 +1489,5 @@ instr_result(eval_environ_t env)
- get_string_arg(env, 0, &message);
- get_literal(env, 1, (const char**)&code);
- get_literal(env, 2, (const char**)&xcode);
+ get_string_arg(env, 2, &message);
+ get_string_arg(env, 1, &xcode);
+ get_string_arg(env, 0, &code);
@@ -1515,4 +1515,4 @@ instr_result(eval_environ_t env)
env->setreply(env->data, code, xcode, message);
- advance_pc(env, 3);
- adjust_stack(env, 1);
+ advance_pc(env, 1);
+ adjust_stack(env, 3);
}

Return to:

Send suggestions and report system problems to the System administrator.