Skip to content

Commit e2ea49a

Browse files
committed
Use log.Fatalf rather than log.Fatal
.\hvsock.go:75:5: Fatal call has possible formatting directive %s Signed-off-by: David Scott <dave@recoil.org>
1 parent 857e6e2 commit e2ea49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/sock_stress/hvsock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func hvsockParseSockStr(sockStr string) hvsockAddr {
7272
}
7373
if !useHVSock {
7474
if vAddr.Port, err = hvAddr.ServiceID.Port(); err != nil {
75-
log.Fatal("Error parsing SVC '%s': %v", svcStr, err)
75+
log.Fatalf("Error parsing SVC '%s': %v", svcStr, err)
7676
}
7777
}
7878
}

0 commit comments

Comments
 (0)