Use setmntent() OR fopen()
authorTurbo Fredriksson <turbo@bayour.com>
Tue, 4 Jun 2013 01:55:28 +0000 (03:55 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 15 Aug 2013 17:09:09 +0000 (10:09 -0700)
commitf9e459d1435832caa69fdaf236ebaeacd93f1b3e
tree44603635a9d29ee1eee735346f812659373f0e07
parentfb5c53ea65b75c67c23f90ebbbb1134a5bb6c140
Use setmntent() OR fopen()

For the same reasons it's used in libzfs_init(), this was just
overlooked because zinject gets minimal use.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #1498
cmd/zinject/translate.c