2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>

* libfs/src/imfs/imfs_load_tar.c: Formatting.
This commit is contained in:
Joel Sherrill
2010-07-26 21:29:24 +00:00
parent 80c1577382
commit bc3fe3c7f0
2 changed files with 7 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/imfs_load_tar.c: Formatting.
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Do not cover up user configuation mistakes

View File

@@ -106,11 +106,10 @@ int rtems_tarfs_load(
0
);
if (status != 0)
return -1;
return -1;
if (root_loc.ops != &IMFS_ops
&& root_loc.ops != &fifoIMFS_ops)
return -1;
if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)
return -1;
/*
* Create an IMFS node structure pointing to tar image memory.