fixed printerr formatting

master
Tibor Bizjak 2023-07-10 17:58:08 +02:00
parent 1bdbe712fd
commit 5723e1d29b
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#ifndef STACK_H
#define STACK_H
#define printerr(format, ...) printf("error: " format, ##__VA_ARGS__)
#define printerr(format, ...) printf("error: " format "\n", ##__VA_ARGS__)
#define EMPTY_STACK_ERR "stack empty"
#define SHORT_STACK_ERR "not enough elements on stack"