Updated with Tizen:Base source codes
[external/procps.git] / packaging / procps-3.2.7-vmstat-partstats-reqwrites.patch
1 diff -up procps-3.2.7/vmstat.c.vmstat procps-3.2.7/vmstat.c
2 --- procps-3.2.7/vmstat.c.vmstat        2009-02-23 13:44:27.000000000 +0100
3 +++ procps-3.2.7/vmstat.c       2009-02-23 13:45:03.000000000 +0100
4 @@ -312,7 +312,7 @@ static int diskpartition_format(const ch
5      struct disk_stat *disks;
6      struct partition_stat *partitions, *current_partition=NULL;
7      unsigned long ndisks, j, k, npartitions;
8 -    const char format[] = "%20u %10llu %10u %10u\n";
9 +    const char format[] = "%20u %10llu %10u %10llu\n";
10  
11      fDiskstat=fopen("/proc/diskstats","rb");
12      if(!fDiskstat){