Index: usr.sbin/cpucontrol/amd10h.c =================================================================== --- usr.sbin/cpucontrol/amd10h.c +++ usr.sbin/cpucontrol/amd10h.c @@ -109,7 +109,7 @@ assert(path); assert(dev); - fd = -1; + fd = -1; fw_image = MAP_FAILED; devfd = open(dev, O_RDWR); if (devfd < 0) { @@ -164,14 +164,14 @@ */ fw_image = (uint8_t *)mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); - if (fw_image == MAP_FAILED) { + if (fw_image == MAP_FAILED) { WARN(0, "mmap(%s)", path); goto done; } fw_data = fw_image; container_header = (const container_header_t *)fw_data; - if (container_header->magic != AMD_10H_MAGIC) { + if (container_header->magic != AMD_10H_MAGIC) { WARNX(2, "%s is not a valid amd firmware: bad magic", path); goto done; }