Changeset View
Changeset View
Standalone View
Standalone View
lib/libfstyp/hammer.c
- This file was moved from usr.sbin/fstyp/hammer.c.
Show All 36 Lines | |||||
#include <err.h> | #include <err.h> | ||||
#include <assert.h> | #include <assert.h> | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include "hammer_disk.h" | #include "hammer_disk.h" | ||||
#include "fstyp.h" | #include "fstyp.h" | ||||
#include "fstyp_p.h" | |||||
static hammer_volume_ondisk_t | static hammer_volume_ondisk_t | ||||
read_ondisk(FILE *fp) | read_ondisk(FILE *fp) | ||||
{ | { | ||||
hammer_volume_ondisk_t ondisk; | hammer_volume_ondisk_t ondisk; | ||||
ondisk = read_buf(fp, 0, sizeof(*ondisk)); | ondisk = read_buf(fp, 0, sizeof(*ondisk)); | ||||
if (ondisk == NULL) | if (ondisk == NULL) | ||||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |