Whamcloud - gitweb
Branch HEAD
authorbwzhou <bwzhou>
Wed, 25 Jun 2008 00:24:12 +0000 (00:24 +0000)
committerbwzhou <bwzhou>
Wed, 25 Jun 2008 00:24:12 +0000 (00:24 +0000)
b=13285

initialize save_errno

lustre/tests/openfile.c

index 0349134..6638ac1 100644 (file)
@@ -58,14 +58,14 @@ void Usage_and_abort(void)
 int main(int argc, char** argv)
 {
         int    fd;
-        int    flags=0;
-        mode_t mode=0644;
-        char*  fname=NULL;
-        int    mode_set=0;
-        int    flag_set=0;
+        int    flags = 0;
+        mode_t mode = 0644;
+        char*  fname = NULL;
+        int    mode_set = 0;
+        int    flag_set = 0;
         int    c;
-        int    save_errno;
-        int    print_usage=0;
+        int    save_errno = 0;
+        int    print_usage = 0;
         char*  cloned_flags = NULL;
 
         if (argc == 1)