File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,17 @@ func (filesystemType kernelFormatVolumeFilesystemTypes) String() string {
6060
6161type kernelFormatVolumeFormatInputBufferFlags uint32
6262
63- const kernelFormatVolumeFormatInputBufferFlagNone = kernelFormatVolumeFormatInputBufferFlags (0x00000000 )
63+ const (
64+ kernelFormatVolumeFormatInputBufferFlagNone = kernelFormatVolumeFormatInputBufferFlags (0x00000000 )
65+ kernelFormatVolumeFormatInputBufferFlagSuperFloppy = kernelFormatVolumeFormatInputBufferFlags (0x00000001 )
66+ )
6467
6568func (flag kernelFormatVolumeFormatInputBufferFlags ) String () string {
6669 switch flag {
6770 case kernelFormatVolumeFormatInputBufferFlagNone :
6871 return "kernelFormatVolumeFormatInputBufferFlagNone"
72+ case kernelFormatVolumeFormatInputBufferFlagSuperFloppy :
73+ return "kernelFormatVolumeFormatInputBufferFlagSuperFloppy"
6974 default :
7075 return "Unknown"
7176 }
@@ -211,7 +216,7 @@ func KmFmtCreateFormatInputBuffer(diskPath string) *KernelFormatVolumeFormatInpu
211216 inputBuffer := (* KernelFormatVolumeFormatInputBuffer )(unsafe .Pointer (& buf [0 ]))
212217
213218 inputBuffer .Size = uint64 (bufferSize )
214- inputBuffer .Flags = kernelFormatVolumeFormatInputBufferFlagNone
219+ inputBuffer .Flags = kernelFormatVolumeFormatInputBufferFlagSuperFloppy
215220
216221 inputBuffer .FsParameters .FileSystemType = kernelFormatVolumeFilesystemTypeRefs
217222 inputBuffer .FsParameters .VolumeLabelLength = 0
You can’t perform that action at this time.
0 commit comments