1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

lvmcmdline: use long int for number returned by strtol

This commit is contained in:
Peter Rajnoha 2016-08-10 09:10:28 +02:00
parent 480c1c9599
commit 2fed8d8515

View File

@ -1853,7 +1853,7 @@ static int _do_get_custom_fd(const char *env_var_name, int *fd)
{
const char *str;
char *endptr;
int tmp_fd;
long int tmp_fd;
*fd = -1;