HomeSort by: relevance | last modified time | path
    Searched refs:boot_path (Results 1 - 1 of 1) sorted by relevancy

  /src/sbin/fdisk/
fdisk.c 139 static char *boot_path = NULL; /* name of file we actually opened */ variable
1056 if (boot_path != NULL)
1057 free(boot_path);
1059 asprintf(&boot_path, "%s/%s", boot_dir, name);
1061 boot_path = strdup(name);
1062 if (boot_path == NULL)
1065 if ((bfd = open(boot_path, O_RDONLY)) < 0 || fstat(bfd, &st) == -1) {
1066 warn("%s", boot_path);
1071 warnx("%s: bootcode too large", boot_path);
1076 warnx("%s: bootcode too small", boot_path);
    [all...]

Completed in 54 milliseconds