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:
parent
480c1c9599
commit
2fed8d8515
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user