smu: More cleanup

This commit is contained in:
Enno Tensing 2025-01-21 21:11:59 +01:00
parent b83c9c0b07
commit 39168765cb
Signed by: tenno
GPG key ID: 95265603BD36E66C

4
smu.c
View file

@ -686,7 +686,7 @@ void *ereallocz(void *p, size_t size)
res = calloc(1, size); res = calloc(1, size);
if (!res) if (!res)
eprint("fatal: could not malloc() %u bytes\n", size); perror(PACKAGE);
return res; return res;
} }
@ -754,7 +754,7 @@ int main(int argc, char *argv[])
for (i = 1; i < argc; i++) { for (i = 1; i < argc; i++) {
if (!strcmp("-v", argv[i])) { if (!strcmp("-v", argv[i])) {
eprint("simple markup %s (C) Enno Boland\n", VERSION); eprint("simple markup %s (C) 2007 - 2014 Enno Boland, (C) 2025 Enno Tensing\n", VERSION);
goto exit; goto exit;
} else if (!strcmp("-n", argv[i])) { } else if (!strcmp("-n", argv[i])) {
nohtml = 1; nohtml = 1;