summaryrefslogtreecommitdiffstats
path: root/isys/imount.c
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-06-27 03:25:34 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-06-27 03:25:38 -1000
commit83389b2effe828debfbbcbebf87dbfd2cc12e361 (patch)
treeaeaffe2d818605590ffce1be6e894f861496fdd5 /isys/imount.c
parentadfa32b7ae12e10545c927f71655aaef950013a0 (diff)
downloadanaconda-83389b2effe828debfbbcbebf87dbfd2cc12e361.tar.gz
anaconda-83389b2effe828debfbbcbebf87dbfd2cc12e361.tar.xz
anaconda-83389b2effe828debfbbcbebf87dbfd2cc12e361.zip
Per strtol(3) man page, set errno=0 before call.
From the NOTES section of strtol(3): "Since strtol() can legitimately return 0, LONG_MAX, or LONG_MIN (LLONG_MAX or LLONG_MIN for strtoll()) on both success and failure, the calling program should set errno to 0 before the call, and then determine if an error occurred by checking whether errno has a non-zero value after the call."
Diffstat (limited to 'isys/imount.c')
0 files changed, 0 insertions, 0 deletions