X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fseq_read.c;h=ff01c427a94f3cd4a5e41a39e1ab26e6a69f53ca;hb=19b66d5b25c2c07b7bcceaa7c128ab60f9b34793;hp=5707dae9643634f452dbeb4832814c933789e20b;hpb=d3ba09a465cb0e5fc9a74d0b152a7ed965f895cb;p=mmh diff --git a/sbr/seq_read.c b/sbr/seq_read.c index 5707dae..ff01c42 100644 --- a/sbr/seq_read.c +++ b/sbr/seq_read.c @@ -7,6 +7,7 @@ ** complete copyright information. */ +#include #include #include @@ -97,7 +98,7 @@ seq_public(struct msgs *mp) case BODY: case BODYEOF: - adios(NULL, "no blank lines are permitted in %s", + adios(EX_CONFIG, NULL, "no blank lines are permitted in %s", seqfile); /* fall */ @@ -105,7 +106,7 @@ seq_public(struct msgs *mp) break; default: - adios(NULL, "%s is poorly formatted", seqfile); + adios(EX_CONFIG, NULL, "%s is poorly formatted", seqfile); } break; /* break from for loop */ } @@ -158,7 +159,8 @@ seq_private(struct msgs *mp) static int seq_init(struct msgs *mp, char *name, char *field) { - int i, j, k, is_current; + unsigned int i; + int j, k, is_current; char *cp, **ap; /*