summaryrefslogtreecommitdiff
path: root/cifs.idmap.8.in
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2012-10-29 15:45:37 -0400
committerJeff Layton <jlayton@samba.org>2012-10-29 15:45:37 -0400
commit803feff6aa66c0bb0f0a703eb2404477889a56d5 (patch)
treee45844717259b10a9fef9e4d26fdfcf3fbac68fb /cifs.idmap.8.in
parent035f69a9b5fe3c72df73bbbda2d7e570891f971e (diff)
downloadcifs-utils-803feff6aa66c0bb0f0a703eb2404477889a56d5.tar.gz
cifs-utils-803feff6aa66c0bb0f0a703eb2404477889a56d5.tar.bz2
cifs-utils-803feff6aa66c0bb0f0a703eb2404477889a56d5.zip
cifs.idmap: don't use atoi to convert unsigned int to number
atoi() is for signed integers, and is deprecated in any case. Use strtoul() instead and check the result carefully before using it. Also add a log message when the string(s) can't be converted and fix the signedness of the types in other log messages. Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'cifs.idmap.8.in')
0 files changed, 0 insertions, 0 deletions