Remove "WARNING: " prefix from messages

This commit is contained in:
sin 2014-03-23 18:58:43 +00:00
parent a6ef67cd3d
commit 897efd5f13

View File

@ -79,15 +79,15 @@ cryptcheck(char *sumfile, int argc, char *argv[],
fclose(cfp); fclose(cfp);
free(line); free(line);
if(formatsucks > 0) { if(formatsucks > 0) {
weprintf("WARNING: %d lines are improperly formatted\n", formatsucks); weprintf("%d lines are improperly formatted\n", formatsucks);
ret = EXIT_FAILURE; ret = EXIT_FAILURE;
} }
if(noread > 0) { if(noread > 0) {
weprintf("WARNING: %d listed file could not be read\n", noread); weprintf("%d listed file could not be read\n", noread);
ret = EXIT_FAILURE; ret = EXIT_FAILURE;
} }
if(nonmatch > 0) { if(nonmatch > 0) {
weprintf("WARNING: %d computed checksums did NOT match\n", nonmatch); weprintf("%d computed checksums did NOT match\n", nonmatch);
ret = EXIT_FAILURE; ret = EXIT_FAILURE;
} }
return ret; return ret;