Commit 8d3224e2a8dc26ceae6398b2618b16c66600f59b

Thomas de Grivel 2023-02-10T17:59:23

wip

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/error.h b/libc3/error.h
index 9f5f607..abda049 100644
--- a/libc3/error.h
+++ b/libc3/error.h
@@ -19,7 +19,7 @@
 #define error(message)                                                 \
   do {                                                                 \
     assert(! message);                                                 \
-    errx(1, "%s: %s", __FUNCTION__, message);                          \
+    errx(1, "%s", message);                                            \
   } while (0)
 
 void error_print (s_buf *buf, const s_error_handler *error_handler);