Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/util-linux/ipcs.c


Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/util-linux/ipcs.c

    r3232 r3621  
    167167        printf("------ Shared Memory %s --------\n", "Status");
    168168        printf("segments allocated %d\n"
    169                 "pages allocated %ld\n"
    170                 "pages resident  %ld\n"
    171                 "pages swapped   %ld\n"
    172                 "Swap performance: %ld attempts\t%ld successes\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",
    173173                shm_info.used_ids,
    174174                shm_info.shm_tot,
     
    570570            bb_perror_msg_and_die("semctl");
    571571        }
    572         printf("%-10d %-10d %-10d %-10d %-10d\n", i, val, ncnt, zcnt, pid);
     572        printf("%-10u %-10d %-10d %-10d %-10d\n", i, val, ncnt, zcnt, pid);
    573573    }
    574574    bb_putchar('\n');
Note: See TracChangeset for help on using the changeset viewer.