mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-07 06:56:56 +01:00
newfs_msdosfs: Respect FSFIXFAT
Fix some whitespace issues while here. Obtained from: NetBSD (rev. 1.9) MFC after: 3 days
This commit is contained in:
parent
c959c23740
commit
f07b643c5c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268635
@ -142,7 +142,7 @@ checkfilesys(const char *fname)
|
||||
goto out;
|
||||
|
||||
/* now write the FATs */
|
||||
if (mod & FSFATMOD) {
|
||||
if (mod & (FSFATMOD|FSFIXFAT)) {
|
||||
if (ask(1, "Update FATs")) {
|
||||
mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT);
|
||||
if (mod & FSFATAL)
|
||||
|
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#ifndef EXT_H
|
||||
#define EXT_H
|
||||
#define EXT_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
@ -69,8 +69,8 @@ int checkfilesys(const char *);
|
||||
#define FSFATMOD 4 /* The FAT was modified */
|
||||
#define FSERROR 8 /* Some unrecovered error remains */
|
||||
#define FSFATAL 16 /* Some unrecoverable error occurred */
|
||||
#define FSDIRTY 32 /* File system is dirty */
|
||||
#define FSFIXFAT 64 /* Fix file system FAT */
|
||||
#define FSDIRTY 32 /* File system is dirty */
|
||||
#define FSFIXFAT 64 /* Fix file system FAT */
|
||||
|
||||
/*
|
||||
* read a boot block in a machine independent fashion and translate
|
||||
|
Loading…
Reference in New Issue
Block a user