]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(spec_init): Fix typo in last change.
authorJim Meyering <jim@meyering.net>
Wed, 5 Nov 2003 03:49:29 +0000 (03:49 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 5 Nov 2003 03:49:29 +0000 (03:49 +0000)
src/tr.c

index 099d65021e0567abc84277d907f0d075a1e58c75..3cb3bba103ea03289745a4477f438c1d5b8e01d0 100644 (file)
--- a/src/tr.c
+++ b/src/tr.c
@@ -1386,7 +1386,7 @@ get_s2_spec_stats (struct Spec_list *s2, size_t len_s1)
 static void
 spec_init (struct Spec_list *spec_list)
 {
-  struct Spec_list *new = xmalloc (sizeof *new);
+  struct List_element *new = xmalloc (sizeof *new);
   spec_list->head = spec_list->tail = new;
   spec_list->head->next = NULL;
 }