Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/util-linux/ipcs.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/util-linux/ipcs.c
r3232 r3621 167 167 printf("------ Shared Memory %s --------\n", "Status"); 168 168 printf("segments allocated %d\n" 169 "pages allocated %l d\n"170 "pages resident %l d\n"171 "pages swapped %l d\n"172 "Swap performance: %l d attempts\t%ldsuccesses\n",169 "pages allocated %lu\n" 170 "pages resident %lu\n" 171 "pages swapped %lu\n" 172 "Swap performance: %lu attempts\t%lu successes\n", 173 173 shm_info.used_ids, 174 174 shm_info.shm_tot, … … 570 570 bb_perror_msg_and_die("semctl"); 571 571 } 572 printf("%-10 d%-10d %-10d %-10d %-10d\n", i, val, ncnt, zcnt, pid);572 printf("%-10u %-10d %-10d %-10d %-10d\n", i, val, ncnt, zcnt, pid); 573 573 } 574 574 bb_putchar('\n');
Note:
See TracChangeset
for help on using the changeset viewer.