Home | History | Annotate | Download | only in ota

Lines Matching refs:fn

76                 char fn[PATH_MAX];
77 snprintf(fn, sizeof(fn), "%s/%s", kPartitions[i], "dirty");
78 fd = open(fn, O_WRONLY|O_CREAT, 0444);
80 write(fd, fn, sizeof(fn)); // write, you know, some data
82 unlink(fn);
98 char fn[PATH_MAX];
99 snprintf(fn, sizeof(fn), "%s/%s", kPartitions[i], "lost+found");
100 DIR *dir = opendir(fn);
102 fprintf(out, "Can't open %s: %s\n", fn, strerror(errno));
112 fprintf(out, "OMGZ FOUND %d FILES IN %s\n", count, fn);
114 fprintf(out, "%s is clean\n", fn);