Date: Sun, 29 Aug 2010 20:25:25 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r211972 - head/cddl/contrib/opensolaris/cmd/zfs Message-ID: <201008292025.o7TKPPtg073695@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Sun Aug 29 20:25:25 2010 New Revision: 211972 URL: http://svn.freebsd.org/changeset/base/211972 Log: Give user a hint what to do when /usr/lib/zfs/pyzfs.py is missing. MFC after: 2 weeks Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c ============================================================================== --- head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Sun Aug 29 20:21:10 2010 (r211971) +++ head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Sun Aug 29 20:25:25 2010 (r211972) @@ -1736,6 +1736,7 @@ zfs_do_userspace(int argc, char **argv) (void) fprintf(stderr, "internal error: %s not found\n" "falling back on built-in implementation, " "some features will not work\n", pypath); + (void) fprintf(stderr, " install sysutils/py-zfs port to correct this\n"); if ((zhp = zfs_open(g_zfs, argv[argc-1], ZFS_TYPE_DATASET)) == NULL) return (1); @@ -3798,6 +3799,7 @@ zfs_do_python(int argc, char **argv) { (void) execv(pypath, argv-1); (void) fprintf(stderr, "internal error: %s not found\n", pypath); + (void) fprintf(stderr, " install sysutils/py-zfs port to correct this\n"); return (-1); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008292025.o7TKPPtg073695>