Subject: [PATCH] blkdiscard: BLKSSZGET fills in an int, not a uint64 Message-ID: 1383435966-29337-1-git-send-email-tytso@mit.edu Reported-by: Jason Cipriani Signed-off-by: "Theodore Ts'o" --- sys-utils/blkdiscard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-utils/blkdiscard.c b/sys-utils/blkdiscard.c index af9ed66..2ddcdb1 100644 --- a/sys-utils/blkdiscard.c +++ b/sys-utils/blkdiscard.c @@ -70,8 +70,8 @@ static void __attribute__((__noreturn__)) usage(FILE *out) int main(int argc, char **argv) { char *path; - int c, fd, verbose = 0, secure = 0; - uint64_t end, blksize, secsize, range[2]; + int c, fd, verbose = 0, secure = 0, secsize; + uint64_t end, blksize, range[2]; struct stat sb; static const struct option longopts[] = { -- 1.7.12.rc0.22.gcdd159b