mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
14 lines
479 B
Diff
14 lines
479 B
Diff
diff --git a/src/tini.c b/src/tini.c
|
|
index eb62015..0e7d5da 100644
|
|
--- a/src/tini.c
|
|
+++ b/src/tini.c
|
|
@@ -18,6 +18,8 @@
|
|
#include "tiniConfig.h"
|
|
#include "tiniLicense.h"
|
|
|
|
+#define basename(name) (strrchr((name),'/') ? strrchr((name),'/')+1 : (name))
|
|
+
|
|
#if TINI_MINIMAL
|
|
#define PRINT_FATAL(...) fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n");
|
|
#define PRINT_WARNING(...) if (verbosity > 0) { fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n"); }
|