summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/ChangeLog4
-rw-r--r--libdiskfs/lookup.c10
2 files changed, 10 insertions, 4 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index e74b00ad..8689baa7 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 16 17:20:06 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * lookup.c (diskfs_lookup): Reformat for prettiness.
+
1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
* io-revoke.c (diskfs_S_io_revoke): Use ports_class_iterate.
diff --git a/libdiskfs/lookup.c b/libdiskfs/lookup.c
index cd5ca8cb..2dd75a92 100644
--- a/libdiskfs/lookup.c
+++ b/libdiskfs/lookup.c
@@ -1,5 +1,5 @@
/* Wrapper for diskfs_lookup_hard
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -175,9 +175,11 @@ diskfs_lookup (struct node *dp, const char *name, enum lookup_type type,
|| (type == CREATE && err == ENOENT)
|| (type == REMOVE && err != ENOENT))
{
- error_t err2 = fshelp_checkdirmod (&dp->dn_stat,
- (err || !np) ? 0 : &(*np)->dn_stat,
- cred->user);
+ error_t err2;
+
+ err2 = fshelp_checkdirmod (&dp->dn_stat,
+ (err || !np) ? 0 : &(*np)->dn_stat,
+ cred->user);
if (err2)
{
if (np && !err)