]> err.no Git - util-linux/commit
mkswap: fixed strtoll() usage
authorYann Droneaud <yann@droneaud.fr>
Tue, 30 Mar 2010 15:17:56 +0000 (17:17 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Mar 2010 18:15:24 +0000 (20:15 +0200)
commit11ba4182e6b48e088189729d68b4d0bc7a5e4619
tree8216bdc7ebdf3e0da86a7e5831d2aff765b1c669
parent588c2685f4d87b9a620c77bc7bc27fdaf8a915f9
mkswap: fixed strtoll() usage

- catch empty string
- check against LLONG_MAX and LLONG_MIN instead of ULLONG_MAX and 0

Signed-off-by: Yann Droneaud <yann@droneaud.fr>
disk-utils/mkswap.c