Searched refs:mtp_probe_dir (Results 1 – 1 of 1) sorted by relevance
74 char mtp_probe_dir[256]; in main() local99 strncpy(mtp_probe_dir,optarg,sizeof(mtp_probe_dir)); in main()100 mtp_probe_dir[sizeof(mtp_probe_dir)-1] = '\0'; in main()101 if (strlen(mtp_probe_dir) <= 1) { in main()106 if (mtp_probe_dir[strlen(mtp_probe_dir)-1] != '/') { in main()107 int index = strlen(mtp_probe_dir); in main()108 if (index >= (sizeof(mtp_probe_dir)-1)) { in main()111 mtp_probe_dir[index] = '/'; in main()112 mtp_probe_dir[index+1] = '\0'; in main()115 if (!strcmp(mtp_probe_dir, "/lib/udev/")) { in main()[all …]