mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-03 23:33:01 +00:00
mount: Reduce size of mkey in ext_mount_lookup
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
fb7611e6eb
commit
2e7ef4f7b9
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ static char *ext_mount_lookup(char *key)
|
|||
{
|
||||
char *v;
|
||||
int len = strlen(key);
|
||||
char mkey[len + 8];
|
||||
char mkey[len + 6];
|
||||
|
||||
sprintf(mkey, "mnt[%s]", key);
|
||||
v = external_lookup_by_key(mkey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue