summaryrefslogtreecommitdiffstats
path: root/partx/partx.c
diff options
context:
space:
mode:
authorSami Kerola2011-02-16 15:20:11 +0100
committerKarel Zak2011-02-16 15:20:11 +0100
commit0a09eb4efcc9704cf757118cbec86f7783223746 (patch)
treecf2ae3d60d37b6d8fc3dd053aa58138e7870cccf /partx/partx.c
parentdocs: favour small patches (diff)
downloadkernel-qcow2-util-linux-0a09eb4efcc9704cf757118cbec86f7783223746.tar.gz
kernel-qcow2-util-linux-0a09eb4efcc9704cf757118cbec86f7783223746.tar.xz
kernel-qcow2-util-linux-0a09eb4efcc9704cf757118cbec86f7783223746.zip
fsck: use xmalloc, warn & err and new usage
All compler errors reported by -Wall -Wextra -pedantic are fixed. The patch also makes fsck to use xalloc instead of it's own malloc. That will make fsck to exit, which could be good thing, at sections where it previously did not. Almost all print outs where touched, where various printfs where converted to warn or err messages. Finally theres a fix to counter wrap bug that could (very unlikely) manifest itself if an user specifies same flag exactly UINT_MAX times. [kzak@redhat.com: - coding style - define XALLOC_EXIT_CODE - use verbose++ in main()] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx/partx.c')
0 files changed, 0 insertions, 0 deletions