summaryrefslogtreecommitdiffstats
path: root/include/protocols
diff options
context:
space:
mode:
authordima <dima@FreeBSD.org>1998-10-27 04:01:19 +0000
committerdima <dima@FreeBSD.org>1998-10-27 04:01:19 +0000
commit832b98b6ffeefa742b85a92148797a3cf4eab153 (patch)
tree03992c539b8793227b7010010c9020daee7e0e71 /include/protocols
parentedf1f9d5415de3b55c8cf737ff9b69cf7dc9f323 (diff)
downloadFreeBSD-src-832b98b6ffeefa742b85a92148797a3cf4eab153.zip
FreeBSD-src-832b98b6ffeefa742b85a92148797a3cf4eab153.tar.gz
64bit fixes.
(Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem somewhere is the physio() area) Submitted by: myself && Matt Dillon.
Diffstat (limited to 'include/protocols')
-rw-r--r--include/protocols/dumprestore.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/protocols/dumprestore.h b/include/protocols/dumprestore.h
index 72eddcd..9721082 100644
--- a/include/protocols/dumprestore.h
+++ b/include/protocols/dumprestore.h
@@ -67,25 +67,25 @@
union u_spcl {
char dummy[TP_BSIZE];
struct s_spcl {
- long c_type; /* record type (see below) */
+ int32_t c_type; /* record type (see below) */
time_t c_date; /* date of this dump */
time_t c_ddate; /* date of previous dump */
- long c_volume; /* dump volume number */
+ int32_t c_volume; /* dump volume number */
daddr_t c_tapea; /* logical block of this record */
ino_t c_inumber; /* number of inode */
- long c_magic; /* magic number (see above) */
- long c_checksum; /* record checksum */
+ int32_t c_magic; /* magic number (see above) */
+ int32_t c_checksum; /* record checksum */
struct dinode c_dinode; /* ownership and mode of inode */
- long c_count; /* number of valid c_addr entries */
+ int32_t c_count; /* number of valid c_addr entries */
char c_addr[TP_NINDIR]; /* 1 => data; 0 => hole in inode */
char c_label[LBLSIZE]; /* dump label */
- long c_level; /* level of this dump */
+ int32_t c_level; /* level of this dump */
char c_filesys[NAMELEN]; /* name of dumpped file system */
char c_dev[NAMELEN]; /* name of dumpped device */
char c_host[NAMELEN]; /* name of dumpped host */
- long c_flags; /* additional information */
- long c_firstrec; /* first record on volume */
- long c_spare[32]; /* reserved for future uses */
+ int32_t c_flags; /* additional information */
+ int32_t c_firstrec; /* first record on volume */
+ int32_t c_spare[32]; /* reserved for future uses */
} s_spcl;
} u_spcl;
#define spcl u_spcl.s_spcl
OpenPOWER on IntegriCloud