Commit 042d4e8dd64588cb5333ecec77b0ee264b76499e

Thomas de Grivel 2024-12-15T19:56:13

ikc3: trace --load also

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/ikc3/ikc3.c b/ikc3/ikc3.c
index 2f0c913..76d2179 100644
--- a/ikc3/ikc3.c
+++ b/ikc3/ikc3.c
@@ -109,6 +109,11 @@ int main (int argc, char **argv)
         r = 1;
         goto clean;
       }
+      if (g_kc3_env->trace) {
+        err_write_1("ikc3: load: ");
+        err_write_1(argv[1]);
+        err_write_1("\n");
+      }
       fp = file_open(argv[1], "rb");
       if (! fp) {
         e = errno;