Lines Matching defs:path
64 char errmsg[255], path[PATH_MAX];
91 strlcpy(path, ".", PATH_MAX);
93 strlcpy(path, "/", PATH_MAX);
95 strlcpy(path, snapname, cp - snapname + 1);
97 if (statfs(path, &stfsbuf) < 0)
98 err(1, "%s", path);
99 if (stat(path, &stbuf) < 0)
100 err(1, "%s", path);
102 errx(1, "%s: Not a directory", path);
103 if (access(path, W_OK) < 0)
104 err(1, "Lack write permission in %s", path);
106 errx(1, "Lack write permission in %s: Sticky bit set", path);