mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Accept octal values for numbers (such as umask).
This commit is contained in:
parent
9588155a4e
commit
4bbf2c3418
@ -336,7 +336,7 @@ static struct config_value *_type(struct parser *p)
|
||||
switch (p->t) {
|
||||
case TOK_INT:
|
||||
v->type = CFG_INT;
|
||||
v->v.i = strtol(p->tb, 0, 10); /* FIXME: check error */
|
||||
v->v.i = strtol(p->tb, 0, 0); /* FIXME: check error */
|
||||
match(TOK_INT);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user