mirror of
https://github.com/pnx/m16vm
synced 2026-06-16 03:44:55 +02:00
lib/error.c: minor fix.
This commit is contained in:
parent
c271fb7aaa
commit
f871cb55ef
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ void warn(const char *message, ...) {
|
|||
va_list vl;
|
||||
|
||||
va_start(vl, message);
|
||||
_write(stderr, "warning", message, vl);
|
||||
_write(stderr, "Warning", message, vl);
|
||||
va_end(vl);
|
||||
}
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ int error(const char *message, ...) {
|
|||
va_list vl;
|
||||
|
||||
va_start(vl, message);
|
||||
_write(stderr, "error", message, vl);
|
||||
_write(stderr, "Error", message, vl);
|
||||
va_end(vl);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue