Changeset c85ab23 in rtems for cpukit/libblock
- Timestamp:
- 08/05/09 18:17:12 (15 years ago)
- Branches:
- 4.10, 4.11, 5, master
- Children:
- 21de9dc
- Parents:
- b053cab
- Location:
- cpukit/libblock
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libblock/include/rtems/bdbuf.h
rb053cab rc85ab23 35 35 /** 36 36 * @defgroup rtems_libblock Block Device Library 37 * 38 * Block device modules. 37 39 */ 38 40 -
cpukit/libblock/src/bdpart.c
rb053cab rc85ab23 859 859 860 860 /* Set partition number for logical disk name */ 861 rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "% lu", i + 1);861 rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1); 862 862 if (rv >= RTEMS_BDPART_NUMBER_SIZE) { 863 863 esc = RTEMS_INVALID_NAME; … … 995 995 for (i = 0; i < count; ++i) { 996 996 /* Create logical disk name */ 997 int rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "% lu", i + 1);997 int rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1); 998 998 if (rv >= RTEMS_BDPART_NUMBER_SIZE) { 999 999 esc = RTEMS_INVALID_NAME; … … 1071 1071 for (i = 0; i < count; ++i) { 1072 1072 /* Create mount point */ 1073 int rv = snprintf( mount_marker, RTEMS_BDPART_NUMBER_SIZE, "% lu", i + 1);1073 int rv = snprintf( mount_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1); 1074 1074 if (rv >= RTEMS_BDPART_NUMBER_SIZE) { 1075 1075 esc = RTEMS_INVALID_NAME;
Note: See TracChangeset
for help on using the changeset viewer.