diff options
| author | Chuck Tuffli <chuck@FreeBSD.org> | 2026-05-12 13:35:31 +0000 |
|---|---|---|
| committer | Chuck Tuffli <chuck@FreeBSD.org> | 2026-05-12 13:35:31 +0000 |
| commit | d2d20bb5099dc1c443a4b783d43b8a45338c85d2 (patch) | |
| tree | 6c26cb768591fa2ec14011c1ab849e017131cefa /libsmart.c | |
| parent | eb3b1302382b1d0cbe37eeebabfcdd546aa2fc4e (diff) | |
Import smart revision 1.0.3vendor/smart/1.0.3vendor/smart
Fixes armv7 and gcc14 build issues.
Diffstat (limited to 'libsmart.c')
| -rw-r--r-- | libsmart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsmart.c b/libsmart.c index a1732de09ed9..012615bacdbd 100644 --- a/libsmart.c +++ b/libsmart.c @@ -1347,7 +1347,7 @@ __smart_read_pages(smart_h h, smart_buf_t *sb) memset(buf, 0, plist->pages[p].bytes); rc = device_read_log(h, plist->pages[p].id, buf, plist->pages[p].bytes); if (rc) { - dprintf("bad read (%d) from page %#x (bytes=%lu)\n", rc, + dprintf("bad read (%d) from page %#x (bytes=%zu)\n", rc, plist->pages[p].id, plist->pages[p].bytes); break; } |
