From f3a0b4ddc516de5524862b51af548e277a43a28a Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 13 Mar 2017 07:19:40 -0700 Subject: Fix missing nao terminator in formatted printing. * arith.c (trunc1, trunc, floorf, ceili): Add missing nao terminator to uw_throwf calls. * debug.c (debug): Missing nao terminator in format call. * eval.c (expand_opt_params_rec, me_equot): Missing nao terminator in eval_error call. * lib.c (use_sym): Missing nao in uw_throw call. * regex.c (reg_derivative): Missing nao in uw_throwf. --- arith.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arith.c') diff --git a/arith.c b/arith.c index 1dff8eb6..6d6dd9f9 100644 --- a/arith.c +++ b/arith.c @@ -819,7 +819,7 @@ static val trunc1(val num) default: break; } - uw_throwf(error_s, lit("trunc: invalid operand ~s"), num); + uw_throwf(error_s, lit("trunc: invalid operand ~s"), num, nao); } val trunc(val anum, val bnum) @@ -1267,7 +1267,7 @@ static val round1(val num) default: break; } - uw_throwf(error_s, lit("round: invalid operand ~s"), num); + uw_throwf(error_s, lit("round: invalid operand ~s"), num, nao); } @@ -1956,7 +1956,7 @@ val floorf(val num) default: break; } - uw_throwf(error_s, lit("floor: invalid operand ~s"), num); + uw_throwf(error_s, lit("floor: invalid operand ~s"), num, nao); } val ceili(val num) @@ -1972,7 +1972,7 @@ val ceili(val num) default: break; } - uw_throwf(error_s, lit("ceil: invalid operand ~s"), num); + uw_throwf(error_s, lit("ceil: invalid operand ~s"), num, nao); } val sine(val num) -- cgit v1.2.3