projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e833fd6
)
timezone: Fix error handling of inotify function
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 27 May 2011 17:38:25 +0000
(10:38 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 27 May 2011 17:38:25 +0000
(10:38 -0700)
src/timezone.c
patch
|
blob
|
history
diff --git
a/src/timezone.c
b/src/timezone.c
index
263ee4e
..
faf4488
100644
(file)
--- a/
src/timezone.c
+++ b/
src/timezone.c
@@
-415,6
+415,9
@@
int __connman_timezone_init(void)
g_free(dirname);
+ if (wd < 0)
+ return -EIO;
+
return 0;
}