cleaned up some misleading error messages
authorewt <devnull@localhost>
Wed, 10 Jul 1996 02:33:11 +0000 (02:33 +0000)
committerewt <devnull@localhost>
Wed, 10 Jul 1996 02:33:11 +0000 (02:33 +0000)
CVS patchset: 756
CVS date: 1996/07/10 02:33:11

lib/header.c

index e802e1a..86fc7a7 100644 (file)
@@ -121,7 +121,7 @@ int nextIterator(HeaderIterator iter,
        }
        break;
     default:
-       fprintf(stderr, "Data type %d not supprted\n", (int) *type);
+       fprintf(stderr, "Data type %d not supported\n", (int) *type);
        exit(1);
     }
 
@@ -815,7 +815,7 @@ int addEntry(Header h, int_32 tag, int_32 type, void *p, int_32 c)
        }
        /* Otherwise fall through to STRING_ARRAY_TYPE */
         /* This should not be allowed */
-       fprintf(stderr, "addEntry() STRING_TYPE count must be 0.\n");
+       fprintf(stderr, "addEntry() STRING_TYPE count must be 1.\n");
        exit(1);
     case STRING_ARRAY_TYPE:
        /* This is like STRING_TYPE, except it's *always* an array */