[Aurora-sparc-devel] [PATCH 1/3] Fix for ext3 from Aurora SRPM

Horst H. von Brand vonbrand at inf.utfsm.cl
Tue Feb 26 11:32:57 EST 2008


Signed-off-by: Horst H. von Brand <vonbrand at inf.utfsm.cl>
---
 second/fs/ext2.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/second/fs/ext2.c b/second/fs/ext2.c
index 028f77e..57f5e9a 100644
--- a/second/fs/ext2.c
+++ b/second/fs/ext2.c
@@ -42,14 +42,14 @@ static void ext2fs_error (int errcode)
     	    return;
     	}
 #endif
-    printf ("Unknown ext2 error");
+    printf ("Unknown ext2 error: %d", errcode);
 }
 
 static int open_ext2 (char *device)
 {
     int retval;
 
-    retval = ext2fs_open (device, EXT2_FLAG_RW, 0, 0, silo_io_manager, &fs);
+    retval = ext2fs_open (device, EXT2_FLAG_DIRTY, 0, 0, silo_io_manager, &fs);
     if (retval == EXT2_ET_BAD_MAGIC)
         return 0;
     if (retval) {
-- 
1.5.4.3.220.g99d8e



More information about the Aurora-sparc-devel mailing list