aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poc-template.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/poc-template.c b/poc-template.c
index 713fc95..a62968a 100644
--- a/poc-template.c
+++ b/poc-template.c
@@ -7,6 +7,9 @@
#include <unistd.h>
#include <stdbool.h>
#include <stdint.h>
+#include <errno.h>
+
+#define LOGERR(...) {fprintf(stderr, "[%s:%d] %s: ", __FILE__, __LINE__, __func__); fprintf(stderr, __VA_ARGS__);}
int main(int argc, char **argv) {
return EXIT_SUCCESS;