[Bug 294659] zpool_vdev.c:1449:39: error: format specifies type 'unsigned long' but the argument has type 'uint64_t'

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Apr 2026 11:30:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294659

            Bug ID: 294659
           Summary: zpool_vdev.c:1449:39: error: format specifies type
                    'unsigned long' but the argument has type 'uint64_t'
           Product: Base System
           Version: CURRENT
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dan.kotowski@a9development.com

When doing `make -j1C KERNCONF=GENERIC TARGET_ARCH=i386 buildkernel`:

/usr/local/src/sys/contrib/openzfs/cmd/zpool/zpool_vdev.c:1449:39: error:
format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka
'unsigned long long') [-Werror,-Wformat]
 1449 |                     "%d, must be %lu\n"), nfdomain, children);
      |                                  ~~~                ^~~~~~~~
      |                                  %llu

This code was introduced @d8fbbd3 2 days ago on 19 April

-- 
You are receiving this mail because:
You are the assignee for the bug.