Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2010-01-27T22:22:09Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
0b9ac3c, a9bbe48d
Parents:
fb6f1a5
Message:

Add type formatting macros for HelenOS system types (sys/typefmt.h) and use in appropriate places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/part/guid_part/guid_part.c

    rfb6f1a5 r1ccafee  
    5454#include <devmap.h>
    5555#include <sys/types.h>
     56#include <sys/typefmt.h>
    5657#include <inttypes.h>
    5758#include <libblock.h>
     
    198199                    / (1024 * 1024);
    199200                printf(NAME ": Registered device %s: %" PRIu64 " blocks "
    200                     "%" PRIu64 " MB.\n", name, (uint64_t) part->length, size_mb);
     201                    "%" PRIuBN " MB.\n", name, part->length, size_mb);
    201202
    202203                part->dev = dev;
Note: See TracChangeset for help on using the changeset viewer.