summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-26 14:50:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-26 14:50:54 +0000
commit56f20bacf0881b66361cca0ba942c9f325f22f3f (patch)
treeae13165be30404171f03c0a3b11076ebafd91929 /c/src/lib/libc
parent37535317d9612bb365a3dce08b0b1d2d71e387b3 (diff)
downloadrtems-56f20bacf0881b66361cca0ba942c9f325f22f3f.tar.bz2
2001-01-26 Joel Sherrill <joel@OARcorp.com>
* libc/chroot.c: Fixed naming problems. Names were changed when the code this depends on was merged.
Diffstat (limited to 'c/src/lib/libc')
-rw-r--r--c/src/lib/libc/chroot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libc/chroot.c b/c/src/lib/libc/chroot.c
index b48082bda7..e05e51029e 100644
--- a/c/src/lib/libc/chroot.c
+++ b/c/src/lib/libc/chroot.c
@@ -33,10 +33,10 @@ int chroot(
if (rtems_current_user_env == &rtems_global_user_env)
set_errno_and_return_minus_one( ENOTSUP );
- loc = rtems_filesystem_root;i /* save the value */
+ loc = rtems_filesystem_root; /* save the value */
/* if has been already changed */
- rtems_filesystem_root = rtems_global_user_env.filesystem_root;
+ rtems_filesystem_root = rtems_global_user_env.root_directory;
result = chdir(pathname);
if (result) {