diff options
author | Tom Smeding <t.j.smeding@uu.nl> | 2024-07-13 23:03:17 +0200 |
---|---|---|
committer | Tom Smeding <t.j.smeding@uu.nl> | 2024-07-13 23:03:17 +0200 |
commit | ea211a7b2d2deec4f5b8451782e930caeb51c295 (patch) | |
tree | edc3910f32019a0b5960e70766c70db82dcb4367 | |
parent | 069a6aaa4811a51d547062113a82fdda17edfd6d (diff) |
Fix hulpmiddelselectie wanneer symbolisch gelinkt
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ int main(int argc, char **argv) { prognamearg = basename(argv[0]); } -#define X(name) if (strcmp(argv[0], #name) == 0) return entry_ ## name (argc, argv); +#define X(name) if (strcmp(prognamearg, #name) == 0) return entry_ ## name (argc, argv); PROGNAMES_XLIST #undef X |