hello,

Chuck Tuffli wrote in <[email protected]>:
>     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.

Attachment: signature.asc
Description: PGP signature

Reply via email to