View | Details | Raw Unified | Return to bug 245907 | Differences between
and this patch

Collapse All | Expand All

(-)b/sbin/fsck_ffs/main.c (+1 lines)
Lines 272-277 checkfilesys(char *filesys) Link Here
272
	 * exit status will cause a foreground check to be run.
272
	 * exit status will cause a foreground check to be run.
273
	 */
273
	 */
274
	sblock_init();
274
	sblock_init();
275
	bufinit();
275
	if (bkgrdcheck) {
276
	if (bkgrdcheck) {
276
		if ((fsreadfd = open(filesys, O_RDONLY)) < 0 || readsb(0) == 0)
277
		if ((fsreadfd = open(filesys, O_RDONLY)) < 0 || readsb(0) == 0)
277
			exit(3);	/* Cannot read superblock */
278
			exit(3);	/* Cannot read superblock */
(-)b/sbin/fsck_ffs/setup.c (-1 lines)
Lines 298-304 setup(char *dev) Link Here
298
		    (uintmax_t)numdirs * sizeof(struct inoinfo *));
298
		    (uintmax_t)numdirs * sizeof(struct inoinfo *));
299
		goto badsb;
299
		goto badsb;
300
	}
300
	}
301
	bufinit();
302
	if (sblock.fs_flags & FS_DOSOFTDEP)
301
	if (sblock.fs_flags & FS_DOSOFTDEP)
303
		usedsoftdep = 1;
302
		usedsoftdep = 1;
304
	else
303
	else

Return to bug 245907