From 05a982c0f544a0ff32092307253240fa73126f8a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 7 Sep 2011 15:39:16 +0200 Subject: Avoid NULL pointer access. --- rtems/rtems_yaffs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems/rtems_yaffs.c b/rtems/rtems_yaffs.c index 66071a5..4fc4115 100644 --- a/rtems/rtems_yaffs.c +++ b/rtems/rtems_yaffs.c @@ -844,7 +844,7 @@ static const rtems_filesystem_operations_table yaffs_ops = { .symlink_h = ycb_symlink, .readlink_h = ycb_readlink, .rename_h = ycb_rename, - .statvfs_h = NULL + .statvfs_h = ycb_statvfs }; /* Yeah, who thought writing filesystem glue code could ever be so complicated? */ -- cgit v1.2.3