diff --git a/monitor.c b/monitor.c index ab1c842bcd3bf81b9789f9e323f7253579e125de..524a281c988f8e3902e6d637acb6b1e3927c90f3 100644 --- a/monitor.c +++ b/monitor.c @@ -815,7 +815,7 @@ static int expr_prod(void) case '/': case '%': if (val2 == 0) - expr_error("divison by zero"); + expr_error("division by zero"); if (op == '/') val /= val2; else @@ -933,7 +933,7 @@ static int get_str(char *buf, int buf_size, const char **pp) } } if (*p != '\"') { - qemu_printf("untermintated string\n"); + qemu_printf("unterminated string\n"); goto fail; } p++;