Remove '\n' since it's redundant in case if file doesn't exist while

running 'pkg_info -g'

Based on PR:	bin/42609
Submitted by:	Jeff King <peff-freebsd at peff dot net>
MFC after:	3 days
This commit is contained in:
Kirill Ponomarev 2005-09-24 19:41:56 +00:00
parent a778923149
commit a1a65496e6

View File

@ -309,7 +309,7 @@ show_cksum(const char *title, Package *plist)
else if (p->type == PLIST_FILE) {
snprintf(tmp, FILENAME_MAX, "%s/%s", dir, p->name);
if (!fexists(tmp))
warnx("%s doesn't exist\n", tmp);
warnx("%s doesn't exist", tmp);
else if (p->next && p->next->type == PLIST_COMMENT &&
(strncmp(p->next->name, "MD5:", 4) == 0)) {
char *cp = NULL, buf[33];