]> sourceware.org Git - systemtap.git/commitdiff
* printf format warning fix
authorfche <fche>
Sun, 25 Feb 2007 23:56:47 +0000 (23:56 +0000)
committerfche <fche>
Sun, 25 Feb 2007 23:56:47 +0000 (23:56 +0000)
runtime/lket/b2a/lket_b2a.c

index e8a880a0bede66f2c642349bdd6466c7351fc43c..aec0a4c52a9c60e3c6e303e4c0d02ef737abeffb 100644 (file)
@@ -583,7 +583,7 @@ int get_pkt_header(FILE *fp, lket_pkt_header *phdr)
                        bzero(phdr, sizeof(lket_pkt_header));
                        return 0;
                } else 
-                       b2a_error("fread read %d bytes than expected %d, feof:%d\n", size, sizeof(lket_pkt_header), feof(fp));
+                       b2a_error("fread read %u bytes than expected %u, feof:%d\n", (unsigned) size, (unsigned) sizeof(lket_pkt_header), feof(fp));
        }
 
        phdr->sys_size -= sizeof(lket_pkt_header)-sizeof(phdr->total_size)-sizeof(phdr->sys_size);
This page took 0.028286 seconds and 5 git commands to generate.