Commit 2e7ef4f7 authored by Radostin Stoyanov's avatar Radostin Stoyanov Committed by Andrei Vagin

mount: Reduce size of mkey in ext_mount_lookup

Signed-off-by: 's avatarRadostin Stoyanov <rstoyanov1@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent fb7611e6
...@@ -94,7 +94,7 @@ static char *ext_mount_lookup(char *key) ...@@ -94,7 +94,7 @@ static char *ext_mount_lookup(char *key)
{ {
char *v; char *v;
int len = strlen(key); int len = strlen(key);
char mkey[len + 8]; char mkey[len + 6];
sprintf(mkey, "mnt[%s]", key); sprintf(mkey, "mnt[%s]", key);
v = external_lookup_by_key(mkey); v = external_lookup_by_key(mkey);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment