Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build break on amd64 - nand/nand.c



Yep, the version I committed had the %zu


On Fri, 2 Nov 2012, Joerg Sonnenberger wrote:

On Fri, Nov 02, 2012 at 12:24:15PM -0700, Paul Goyette wrote:
                        aprint_error_dev(self,
                            "data corrected with ECC at page offset 0x%jx "
-                           "block %" PRIu32 "\n", (uintmax_t)offset, b);
+                           "block %z\n", (uintmax_t)offset, b);
                        break;

This is missing the format itself, e.g. u.

Joerg

!DSPAM:50942c2e59291234514069!



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index