OSDN Git Service
(root)
/
android-x86
/
external-efivar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a0ae71
)
this condition should be error before change, should be rc instead of ret
author
btian1
<baofeng.tian@intel.com>
Fri, 19 Feb 2016 01:33:38 +0000
(09:33 +0800)
committer
Peter Jones
<pjones@redhat.com>
Fri, 19 Feb 2016 18:50:06 +0000
(13:50 -0500)
src/vars.c
patch
|
blob
|
history
diff --git
a/src/vars.c
b/src/vars.c
index
2a276de
..
dcbe3cb
100644
(file)
--- a/
src/vars.c
+++ b/
src/vars.c
@@
-416,7
+416,7
@@
_vars_chmod_variable(char *path, mode_t mode)
ret = -1;
}
free(new_path);
- } else if (r
et
< 0) {
+ } else if (r
c
< 0) {
if (saved_errno == 0)
saved_errno = errno;
ret = -1;