From: Patrik Flykt Date: Thu, 16 Aug 2012 11:54:31 +0000 (+0300) Subject: timezone: Add comment X-Git-Tag: 1.6~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fc0a3a605a38822497b3dc4ecedba8005bf85d4;p=platform%2Fupstream%2Fconnman.git timezone: Add comment --- 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));