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

Aaron LI aly at crater.dragonflybsd.org
Wed Feb 18 06:32:42 PST 2026


commit a1e2bf4deb226c17ee2f7d5162c13b353b4974f8
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/a1e2bf4deb226c17ee2f7d5162c13b353b4974f8


-- 
DragonFly BSD source repository


More information about the Commits mailing list