Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.c

    r36e9cd1 r08232ee  
    5959#include <devmap.h>
    6060#include <sys/types.h>
    61 #include <inttypes.h>
    6261#include <errno.h>
    6362#include <bool.h>
     
    113112        printf(NAME ": ATA disk driver\n");
    114113
    115         printf("I/O address %p/%p\n", ctl_physical, cmd_physical);
     114        printf("I/O address 0x%p/0x%p\n", ctl_physical, cmd_physical);
    116115
    117116        if (ata_bd_init() != EOK)
     
    181180        }
    182181
    183         printf(" %" PRIu64 " blocks", d->blocks, d->blocks / (2 * 1024));
     182        printf(" %llu blocks", d->blocks, d->blocks / (2 * 1024));
    184183
    185184        mbytes = d->blocks / (2 * 1024);
    186185        if (mbytes > 0)
    187                 printf(" %" PRIu64 " MB.", mbytes);
     186                printf(" %llu MB.", mbytes);
    188187
    189188        printf("\n");
     
    500499
    501500        d = &disk[disk_id];
    502        
    503         /* Silence warning. */
    504         memset(&bc, 0, sizeof(bc));
     501        bc.h = 0;       /* Silence warning. */
    505502
    506503        /* Compute block coordinates. */
     
    576573
    577574        d = &disk[disk_id];
    578        
    579         /* Silence warning. */
    580         memset(&bc, 0, sizeof(bc));
     575        bc.h = 0;       /* Silence warning. */
    581576
    582577        /* Compute block coordinates. */
Note: See TracChangeset for help on using the changeset viewer.