Commit Graph

23 Commits

Author SHA1 Message Date
bouyer
3e3f9c7795 #include machine/bswap.h and remove -lutil. 1999-01-15 13:32:05 +00:00
christos
7b57bf6d78 Adjust for DKTYPENAME changes. 1998-11-12 16:19:47 +00:00
mycroft
519d858510 __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
mycroft
0e3ffd8405 const poisoning. 1998-07-26 20:23:15 +00:00
kleink
8bb2a03bf3 Need <time.h> for ctime() prototype. 1998-04-01 15:26:00 +00:00
kleink
0369f1ec1a Need <time.h> for time() prototype. 1998-04-01 15:24:12 +00:00
kleink
4212e56453 Need <time.h> for ctime() and time() prototypes. 1998-04-01 15:22:57 +00:00
mrg
8578360272 use extern int over extern 1998-03-30 02:07:59 +00:00
bouyer
9e33c5ee0d Use libutil rather than ../fsck/bswap.c 1998-03-18 16:57:31 +00:00
fvdl
e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
veego
7e3be35edc s/$FSCK/${FSCK}/ 1997-10-11 15:19:18 +00:00
christos
e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
bouyer
7052d78b8d Ext2 metadata are always stored on disk in little-endian byte order,
so do byte-swapping on big-endian system. The byte-swap routines are in
fsck/bswap.c because they will also be used in fsck_ffs in future.
Tested on i386 and sparc.
1997-10-09 13:19:32 +00:00
enami
9f86d6ed5e Don't declare optind and optarg. 1997-10-01 02:15:48 +00:00
mrg
52ff5d8fee make these compile on the alpha after WARNS=1. 1997-09-16 08:37:01 +00:00
lukem
6277ca4089 use .Nm correctly 1997-09-15 01:39:32 +00:00
lukem
4b836889ab * cleanup for WARNS=1
* deprecate register
* cleanup manpage
* remove unused docheck()
* getopt returns -1 not EOF
* put a ) in the correct place in a printf, so that the argument gets
  & 0xff, not the result of printf() itself...
1997-09-14 14:27:23 +00:00
mikel
fc364ac664 prototype calcsb() 1997-07-10 04:53:35 +00:00
mikel
3a41a9a779 fix printf formats 1997-07-10 04:52:39 +00:00
mikel
bcb582e71c eliminate dangling FFS references 1997-07-09 05:48:34 +00:00
bouyer
de96ec69e2 The computed superblock size is bigger than SBSIZE, malloc() enouth
memory for it. Apparently, this bug was hidden by our malloc implementation.
Reported by Jason Downs.
1997-06-16 08:14:38 +00:00
bouyer
3663504bd6 Don't compile with -g by default. 1997-06-16 08:10:35 +00:00
bouyer
8f7c2b3739 Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs. 1997-06-11 11:21:39 +00:00