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

  /src/sbin/fdisk/
fdisk.c 136 static char *boot_path = NULL; /* name of file we actually opened */ variable in typeref:typename:char *
1053 if (boot_path != NULL)
1054 free(boot_path);
1056 asprintf(&boot_path, "%s/%s", boot_dir, name);
1058 boot_path = strdup(name);
1059 if (boot_path == NULL)
1062 if ((bfd = open(boot_path, O_RDONLY)) < 0 || fstat(bfd, &st) == -1) {
1063 warn("%s", boot_path);
1068 warnx("%s: bootcode too large", boot_path);
1073 warnx("%s: bootcode too small", boot_path);
    [all...]
fdisk.c 136 static char *boot_path = NULL; /* name of file we actually opened */ variable in typeref:typename:char *
1053 if (boot_path != NULL)
1054 free(boot_path);
1056 asprintf(&boot_path, "%s/%s", boot_dir, name);
1058 boot_path = strdup(name);
1059 if (boot_path == NULL)
1062 if ((bfd = open(boot_path, O_RDONLY)) < 0 || fstat(bfd, &st) == -1) {
1063 warn("%s", boot_path);
1068 warnx("%s: bootcode too large", boot_path);
1073 warnx("%s: bootcode too small", boot_path);
    [all...]
fdisk.c 136 static char *boot_path = NULL; /* name of file we actually opened */ variable in typeref:typename:char *
1053 if (boot_path != NULL)
1054 free(boot_path);
1056 asprintf(&boot_path, "%s/%s", boot_dir, name);
1058 boot_path = strdup(name);
1059 if (boot_path == NULL)
1062 if ((bfd = open(boot_path, O_RDONLY)) < 0 || fstat(bfd, &st) == -1) {
1063 warn("%s", boot_path);
1068 warnx("%s: bootcode too large", boot_path);
1073 warnx("%s: bootcode too small", boot_path);
    [all...]

Completed in 39 milliseconds