Commit d2717c14 by Stéphane Graber

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: 's avatarStéphane Graber <stgraber@ubuntu.com> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent 20d2e91b
...@@ -164,7 +164,7 @@ int main(int argc, char *argv[]) ...@@ -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 /* determine which namespaces the container was created with
* by asking lxc-start * by asking lxc-start
......
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