Update ParseIP.go

This commit is contained in:
mux1ng 2021-04-14 14:41:39 +08:00 committed by GitHub
parent 067322203d
commit 45bf788cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ func ParseIPE(ip string) ([]string, error) {
func Readipfile(filename string) ([]string, error) {
file, err := os.Open(filename)
if err != nil {
fmt.Println("Open %s error, %v", filename, err)
fmt.Printf("Open %s error, %v", filename, err)
os.Exit(0)
}
defer file.Close()