git: DragonFly_RELEASE_6_4 gpt(8): Print a warning message when gpt_write() fails

Aaron LI aly at crater.dragonflybsd.org
Sat Feb 21 17:07:07 PST 2026


commit 3ed4e32c2316e6302f1fab44888df36bb50f7994
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Jan 22 09:54:56 2026 +0800

    gpt(8): Print a warning message when gpt_write() fails
    
    gpt_write() is used in many places and all of them don't handle the
    writing failure, so update gpt_write() to print a warning message when
    it fails.

Summary of changes:
 sbin/gpt/gpt.c | 3 +++
 1 file changed, 3 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3ed4e32c2316e6302f1fab44888df36bb50f7994


-- 
DragonFly BSD source repository


More information about the Commits mailing list