Searched refs:namebuf (Results 1 - 1 of 1) sorted by relevance

/system/extras/tests/fstest/
H A Dperm_checker.c361 char namebuf[MAX_NAME_LEN + 1]; local
381 snprintf(namebuf, sizeof(namebuf), "%s/", name);
383 snprintf(namebuf, sizeof(namebuf), "%s", name);
385 retval |= validate_dir(namebuf, PERMS(s.st_mode), s.st_uid, s.st_gid);
386 d = opendir(namebuf);
388 printf("%s : opendir failed: %s\n", namebuf, strerror(errno));
395 snprintf(tmp, sizeof(tmp), "%s%s", namebuf, de->d_name);

Completed in 965 milliseconds