int create_path(struct udev *udev, const char *path)
{
- char p[PATH_SIZE];
+ char p[UTIL_PATH_SIZE];
char *pos;
struct stat stats;
int ret;
- strlcpy(p, path, sizeof(p));
+ util_strlcpy(p, path, sizeof(p));
pos = strrchr(p, '/');
if (pos == p || pos == NULL)
return 0;
int delete_path(struct udev *udev, const char *path)
{
- char p[PATH_SIZE];
+ char p[UTIL_PATH_SIZE];
char *pos;
int retval;