Narthex

Modular dictionary generator
Log | Files | Refs | README

commit f7a5a0588aad649212cbcaf0c1b7e8cbbb106017
parent e67ac6d299f69137ac4d50fb06849bd9affd8aa9
Author: Michael Constantine Dimopoulos <mk@mcdim.xyz>
Date:   Sat, 24 Jul 2021 10:12:23 +0000

Fixed executable name in nhance

Diffstat:
Mnhance/nhan.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nhance/nhan.c b/nhance/nhan.c @@ -106,7 +106,8 @@ main(int argc, char* argv[]) if (f) { f2 = save_stdin(f); } else { - fprintf(stderr, "nenhan: %s\n", strerror(errno)); + fprintf(stderr, "%s: %s\n", argv[0], strerror(errno)); + exit(1); } } else { f2 = save_stdin(stdin);