diff options
author | Karel Zak | 2012-05-15 17:44:51 +0200 |
---|---|---|
committer | Karel Zak | 2012-05-15 17:44:51 +0200 |
commit | 659e5f5b5c2abce275d93bbf5a4eb416a1c6bb45 (patch) | |
tree | e8dc9fdda3d5642ad210bdaa09b2809921ccb47d /partx/partx.h | |
parent | misc-utils: cleanup strtoxx_or_err() (diff) | |
download | kernel-qcow2-util-linux-659e5f5b5c2abce275d93bbf5a4eb416a1c6bb45.tar.gz kernel-qcow2-util-linux-659e5f5b5c2abce275d93bbf5a4eb416a1c6bb45.tar.xz kernel-qcow2-util-linux-659e5f5b5c2abce275d93bbf5a4eb416a1c6bb45.zip |
partx: cleanup strtoxx_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx/partx.h')
-rw-r--r-- | partx/partx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/partx/partx.h b/partx/partx.h index b40fa8fbd..ed0fd0aa4 100644 --- a/partx/partx.h +++ b/partx/partx.h @@ -4,7 +4,7 @@ #include <sys/ioctl.h> #include <linux/blkpg.h> -static inline int partx_del_partition(int fd, int partno) +static inline int partx_del_partition(int fd, unsigned int partno) { struct blkpg_ioctl_arg a; struct blkpg_partition p; @@ -23,7 +23,7 @@ static inline int partx_del_partition(int fd, int partno) } static inline int partx_add_partition(int fd, int partno, - unsigned long start, unsigned long size) + uint64_t start, uint64_t size) { struct blkpg_ioctl_arg a; struct blkpg_partition p; |