projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dada2f
)
timezone: Add comment
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Thu, 16 Aug 2012 11:54:31 +0000
(14:54 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Thu, 16 Aug 2012 11:58:40 +0000
(14:58 +0300)
src/timezone.c
patch
|
blob
|
history
diff --git
a/src/timezone.c
b/src/timezone.c
index
141bad3
..
2b556c2
100644
(file)
--- a/
src/timezone.c
+++ b/
src/timezone.c
@@
-198,13
+198,13
@@
static char *find_origin(void *src_map, struct stat *src_st,
/*
* If there is no d_type support use fstatat()
* to check if d_name is directory
- * Let the code fall through
*/
ret = fstatat(dirfd(dir), d->d_name, &buf, 0);
if (ret < 0)
continue;
if ((buf.st_mode & S_IFDIR) == 0)
continue;
+ /* fall through */
case DT_DIR:
if (subpath == NULL)
strncpy(pathname, d->d_name, sizeof(pathname));