summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-02-17 04:21:36 +0000
committerRoland McGrath <roland@gnu.org>1999-02-17 04:21:36 +0000
commit26b7fda587e757f128977da4589deb00addbf5f2 (patch)
tree6ac07d45ef5b59e8c90cbf8243c48ec1dad6bc5c
parentda7b7a48e8e5f5f8a18dafc3f6387d3a4eb0e1bb (diff)
1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
* init-startup.c (diskfs_startup_diskfs): Fix typo 1999-02-12 change.
-rw-r--r--libdiskfs/init-startup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c
index 355a66ae..4094e3cc 100644
--- a/libdiskfs/init-startup.c
+++ b/libdiskfs/init-startup.c
@@ -43,9 +43,9 @@ diskfs_startup_diskfs (mach_port_t bootstrap, int flags)
struct node *np, *old;
struct protid *rootpi;
- /* Skip leading slashes */
- while (_diskfs_chroot_directory == '/')
- _diskfs_chroot_directory++;
+ /* Skip leading slashes. */
+ while (*_diskfs_chroot_directory == '/')
+ ++_diskfs_chroot_directory;
mutex_lock (&diskfs_root_node->lock);