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:
parent
538e3ae81d
commit
b3b9e441ec
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user