Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4c85cd
)
Branch HEAD
author
bwzhou
<bwzhou>
Wed, 25 Jun 2008 00:24:12 +0000
(
00:24
+0000)
committer
bwzhou
<bwzhou>
Wed, 25 Jun 2008 00:24:12 +0000
(
00:24
+0000)
b=13285
initialize save_errno
lustre/tests/openfile.c
patch
|
blob
|
history
diff --git
a/lustre/tests/openfile.c
b/lustre/tests/openfile.c
index
0349134
..
6638ac1
100644
(file)
--- a/
lustre/tests/openfile.c
+++ b/
lustre/tests/openfile.c
@@
-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)