diff options
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r-- | miscutils/dc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c index 5aef64b60..ef93c20ba 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c | |||
@@ -39,14 +39,14 @@ static unsigned check_under(void) | |||
39 | { | 39 | { |
40 | unsigned p = pointer; | 40 | unsigned p = pointer; |
41 | if (p == 0) | 41 | if (p == 0) |
42 | bb_error_msg_and_die("stack underflow"); | 42 | bb_simple_error_msg_and_die("stack underflow"); |
43 | return p - 1; | 43 | return p - 1; |
44 | } | 44 | } |
45 | 45 | ||
46 | static void push(double a) | 46 | static void push(double a) |
47 | { | 47 | { |
48 | if (pointer >= STACK_SIZE) | 48 | if (pointer >= STACK_SIZE) |
49 | bb_error_msg_and_die("stack overflow"); | 49 | bb_simple_error_msg_and_die("stack overflow"); |
50 | stack[pointer++] = a; | 50 | stack[pointer++] = a; |
51 | } | 51 | } |
52 | 52 | ||