File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ static int initrd_init ( void ) {
201
201
/* Allocate and copy initrd content */
202
202
image -> data = umalloc ( initrd_len );
203
203
if ( ! image -> data ) {
204
- DBGC ( colour , "RUNTIME could not allocate %zd bytes for "
204
+ DBGC ( colour , "RUNTIME could not allocate %d bytes for "
205
205
"initrd\n" , initrd_len );
206
206
rc = - ENOMEM ;
207
207
goto err_umalloc ;
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ static uint8_t num_drives;
160
160
* @v int13 Emulated drive
161
161
* @ret blksize Sector size
162
162
*/
163
- static inline unsigned int int13_blksize ( struct int13_drive * int13 ) {
163
+ static inline size_t int13_blksize ( struct int13_drive * int13 ) {
164
164
return ( int13 -> capacity .blksize << int13 -> blksize_shift );
165
165
}
166
166
You can’t perform that action at this time.
0 commit comments