HomeFreeBSD

zfs_main.c: fix unused variable error with GCC

Description

zfs_main.c: fix unused variable error with GCC

zfs_setproctitle_init() is stubbed out on FreeBSD.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Rob Wing <rob.fx907@gmail.com>
Closes #14441

Details

Provenance
rob-wing <98866084+rob-wing@users.noreply.github.com>Authored on Feb 2 2023, 11:16 PM
Tony Hutter <hutter2@llnl.gov>Committed on Mar 29 2023, 9:45 PM
Parents
rG777c98ee524f: Use setproctitle to report progress of zfs send
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG0e30635f9c0b: zfs_main.c: fix unused variable error with GCC (authored by rob-wing <98866084+rob-wing@users.noreply.github.com>).Mar 29 2023, 9:45 PM