Re: git: 25942dddc8a8 - main - smart: Connect contrib/smart to build

From: Lexi Winter <ivy_at_freebsd.org>
Date: Tue, 12 May 2026 09:20:59 UTC
hello,

Chuck Tuffli wrote in <6a025660.37fa7.6a3f7fc0@gitrepo.freebsd.org>:
>     smart: Connect contrib/smart to build

this has broken the armv7 build:

--- all_subdir_usr.sbin/smart ---
/aux0/ci/worker/main-linux-clang-armv7/build/contrib/smart/libsmart.c:1351:26: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
 1350 |                         dprintf("bad read (%d) from page %#x (bytes=%lu)\n", rc,
      |                                                                     ~~~
      |                                                                     %zu
 1351 |                                         plist->pages[p].id, plist->pages[p].bytes);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~
/aux0/ci/worker/main-linux-clang-armv7/build/contrib/smart/libsmart_priv.h:36:69: note: expanded from macro 'dprintf'
   36 | #define dprintf(f, ...) if (do_debug) fprintf(stderr, "dbg: " f, ## __VA_ARGS__)
      |                                                               ~     ^~~~~~~~~~~
1 error generated.