diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-08-16 14:54:31 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-08-16 14:58:40 +0300 |
commit | 9fc0a3a605a38822497b3dc4ecedba8005bf85d4 (patch) | |
tree | a393fc8b2ab97ae4b1a50a4af1e30c44479dfc8b /src | |
parent | 9dada2fefdb426c6551343a61ca084a22b0d6a1c (diff) | |
download | connman-9fc0a3a605a38822497b3dc4ecedba8005bf85d4.tar.gz connman-9fc0a3a605a38822497b3dc4ecedba8005bf85d4.tar.bz2 connman-9fc0a3a605a38822497b3dc4ecedba8005bf85d4.zip |
timezone: Add comment
Diffstat (limited to 'src')
-rw-r--r-- | src/timezone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timezone.c b/src/timezone.c index 141bad34..2b556c28 100644 --- 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)); |