mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 01:39:59 +00:00
Replace get_current_dir_name by getcwd
get_current_dir_name appears to be specific to glibc. Replace that call by an equivalent getcwd call. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
20d2e91bd3
commit
d2717c14d8
@ -164,7 +164,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
curdir = get_current_dir_name();
|
||||
curdir = getcwd(NULL, 0);
|
||||
|
||||
/* determine which namespaces the container was created with
|
||||
* by asking lxc-start
|
||||
|
Loading…
Reference in New Issue
Block a user