summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c
index 9d9bec8..593204f 100644
--- a/src/list.c
+++ b/src/list.c
@@ -93,7 +93,7 @@ AddToList(name_list ** list_head, char *name, char *ptr)
nptr = malloc(sizeof(name_list));
if (nptr == NULL) {
twmrc_error_prefix();
- fprintf(stderr, "unable to allocate %ld bytes for name_list\n",
+ fprintf(stderr, "unable to allocate %lu bytes for name_list\n",
(unsigned long) sizeof(name_list));
Done(NULL, NULL);
}