Skip to content

Commit bb8cceb

Browse files
committed
chore: fix gofmt
1 parent 57f5817 commit bb8cceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iscsi/iscsi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ func writeInSCSIDeviceFile(hctl string, file string, content string) error {
573573
filename := filepath.Join("/sys/class/scsi_device", hctl, "device", file)
574574
debug.Printf("Write %q in %q.\n", content, filename)
575575

576-
f, err := osOpenFile(filename, os.O_TRUNC|os.O_WRONLY, 0o200)
576+
f, err := osOpenFile(filename, os.O_TRUNC|os.O_WRONLY, 0200)
577577
if err != nil {
578578
debug.Printf("Error while opening file %v: %v\n", filename, err)
579579
return err

0 commit comments

Comments
 (0)