diff options
author | krion <krion@FreeBSD.org> | 2005-09-24 19:41:56 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-09-24 19:41:56 +0000 |
commit | b3b9e441ec0dced171a5529944daa925d8edba0b (patch) | |
tree | 98d20072ba89a5f37dae2293efa354fcb5049dbe /usr.sbin | |
parent | 538e3ae81de8e4fe6309c209a04c7d4ec476af05 (diff) | |
download | FreeBSD-src-b3b9e441ec0dced171a5529944daa925d8edba0b.zip FreeBSD-src-b3b9e441ec0dced171a5529944daa925d8edba0b.tar.gz |
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
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_install/info/show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/info/show.c b/usr.sbin/pkg_install/info/show.c index 5dd5878..cb2c3df 100644 --- a/usr.sbin/pkg_install/info/show.c +++ b/usr.sbin/pkg_install/info/show.c @@ -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]; |