Lines Matching refs:mod_path
1514 static char mod_path[MOD_MAXPATH];
1538 (void) strncpy(mod_path, fname, len);
1539 mod_path[len] = 0;
1542 len = strlen(mod_path);
1543 if ((len > isalen) && (strcmp(&mod_path[len - isalen], isastr) == 0)) {
1544 mod_path[len - isalen] = '\0';
1552 mod_path_uname_m(mod_path, impl_arch_name);
1553 (void) strcat(mod_path, " ");
1554 (void) strcat(mod_path, MOD_DEFPATH);
1559 printf("Enter default directory for modules [%s]: ", mod_path);
1562 (void) strcpy(mod_path, buf);
1565 printf("modpath: %s\n", mod_path);
1566 return (mod_path);