> From: [email protected] [mailto:fcoe-devel- > [email protected]] On Behalf Of Robert Love > Sent: Thursday, June 27, 2013 10:57 AM > To: [email protected] > Subject: [Open-FCoE] [PATCH] fcoemon: Fix compilation error due to wrong > print format > > Use "%uz" to print a size_t type, which resolves the following warning/error. > > cc1: warnings being treated as errors > fcoemon.c: In function ‘fcm_fc_event_recv’: > fcoemon.c:856:4: error: format ‘%d’ expects type ‘int’, but argument 2 has > type ‘size_t’ > make: *** [fcoemon-fcoemon.o] Error 1 > > Signed-off-by: Robert Love <[email protected]>
FYI, this fixes a problem that arises when I add Mark's stricter-compilation-flags patches. I hurried this patch into fcoe-utils.git so that I could commit the rest of his patches. Thanks, //Rob _______________________________________________ fcoe-devel mailing list [email protected] http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel
