Skip to content
  • Mike Frysinger's avatar
    fix printf format warnings · 0da6537c
    Mike Frysinger authored and Sami Kerola's avatar Sami Kerola committed
    
    
    pgrep.c: In function 'main':
    pgrep.c:793:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat]
    
    vmstat.c: In function 'diskpartition_format':
    vmstat.c:382:9: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat]
    vmstat.c:408:10: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat]
    
    w.c: In function 'main':
    w.c:394:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    0da6537c