From 9755910e9b8c9dcf7b87cc62d00a884aac65a3d3 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 29 Jun 1998 23:31:06 +0000 Subject: typo --- libdiskfs/lookup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libdiskfs/lookup.c b/libdiskfs/lookup.c index 71d8dbf8..bc61f4ba 100644 --- a/libdiskfs/lookup.c +++ b/libdiskfs/lookup.c @@ -95,7 +95,8 @@ diskfs_lookup (struct node *dp, char *name, enum lookup_type type, if (name[0] == '\0') { - diskfs_null_dirstat (ds); + if (ds) + diskfs_null_dirstat (ds); return EINVAL; } -- cgit v1.2.3