openbsd-ports/x11/tvtwm/patches/patch-list_c
2022-03-11 20:15:18 +00:00

22 lines
573 B
Plaintext

Index: list.c
--- list.c.orig
+++ list.c
@@ -121,7 +121,7 @@ char *ptr;
if (nptr == NULL)
{
twmrc_error_prefix();
- fprintf (stderr, "unable to allocate %d bytes for name_list\n",
+ fprintf (stderr, "unable to allocate %zu bytes for name_list\n",
sizeof(name_list));
Done();
}
@@ -203,7 +203,7 @@ short type;
regexp_error = "";
if ((matcher = regcomp(pattern)) == NULL) {
- fprintf(stderr, "%s: Error in regexp `%s'\n", ProgramName,
+ fprintf(stderr, "%s: %s in regexp `%s'\n", ProgramName,
regexp_error, name);
return 0;
}