svn commit: r268728 - head/usr.sbin/pkg

看板FB_svn作者時間11年前 (2014/07/16 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Author: gavin Date: Wed Jul 16 00:12:57 2014 New Revision: 268728 URL: http://svnweb.freebsd.org/changeset/base/268728 Log: When we fail to extract the pkg binaries (for example, / is read-only), give a more helpful error message. MFC after: 1 week Modified: head/usr.sbin/pkg/pkg.c Modified: head/usr.sbin/pkg/pkg.c ============================================================================== --- head/usr.sbin/pkg/pkg.c Tue Jul 15 23:35:06 2014 (r268727) +++ head/usr.sbin/pkg/pkg.c Wed Jul 16 00:12:57 2014 (r268728) @@ -126,7 +126,8 @@ extract_pkg_static(int fd, char *p, int if (r == ARCHIVE_OK) ret = 0; else - warnx("fail to extract pkg-static"); + warnx("failed to extract pkg-static: %s", + archive_error_string(a)); cleanup: archive_read_free(a); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
文章代碼(AID): #1JnSW2q_ (FB_svn)