git: sbin/hammer2/cmd_snapshot.c: Fix error handling

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Nov 20 02:50:27 PST 2024


commit a6741f0b07e157e9e4ae2e8e9d6c5d1717b64e24
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Nov 20 01:10:12 2024 -0800

    sbin/hammer2/cmd_snapshot.c: Fix error handling
    
    pfs.name is not valid when ioctl(HAMMER2IOC_PFS_GET) failed.

Summary of changes:
 sbin/hammer2/cmd_snapshot.c | 1 +
 1 file changed, 1 insertion(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a6741f0b07e157e9e4ae2e8e9d6c5d1717b64e24


-- 
DragonFly BSD source repository


More information about the Commits mailing list