From 56f20bacf0881b66361cca0ba942c9f325f22f3f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 26 Jan 2001 14:50:54 +0000 Subject: 2001-01-26 Joel Sherrill * libc/chroot.c: Fixed naming problems. Names were changed when the code this depends on was merged. --- c/src/exec/libcsupport/src/chroot.c | 4 ++-- c/src/lib/ChangeLog | 5 +++++ c/src/lib/libc/chroot.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) (limited to 'c') diff --git a/c/src/exec/libcsupport/src/chroot.c b/c/src/exec/libcsupport/src/chroot.c index b48082bda7..e05e51029e 100644 --- a/c/src/exec/libcsupport/src/chroot.c +++ b/c/src/exec/libcsupport/src/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) { diff --git a/c/src/lib/ChangeLog b/c/src/lib/ChangeLog index 75de54613c..12a9268d5d 100644 --- a/c/src/lib/ChangeLog +++ b/c/src/lib/ChangeLog @@ -1,4 +1,9 @@ +2001-01-26 Joel Sherrill + + * libc/chroot.c: Fixed naming problems. Names were changed + when the code this depends on was merged. + 2001-01-25 Fernando Ruiz * Alternate email is correo@fernando-ruiz.com 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) { -- cgit v1.2.3