Print errors on stderr.
MFC after: 2 weeks
This commit is contained in:
parent
4f1f4356f3
commit
083b49f0dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211971
@ -1733,7 +1733,7 @@ zfs_do_userspace(int argc, char **argv)
|
||||
*/
|
||||
(void) execv(pypath, argv-1);
|
||||
|
||||
(void) printf("internal error: %s not found\n"
|
||||
(void) fprintf(stderr, "internal error: %s not found\n"
|
||||
"falling back on built-in implementation, "
|
||||
"some features will not work\n", pypath);
|
||||
|
||||
@ -3797,7 +3797,7 @@ static int
|
||||
zfs_do_python(int argc, char **argv)
|
||||
{
|
||||
(void) execv(pypath, argv-1);
|
||||
(void) printf("internal error: %s not found\n", pypath);
|
||||
(void) fprintf(stderr, "internal error: %s not found\n", pypath);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user