mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-14 13:22:35 +08:00
replace Println with Printf
This commit is contained in:
parent
021592c237
commit
eb4cece0f9
@ -71,7 +71,7 @@ func ParsePass(Info *HostInfo) {
|
|||||||
func Readfile(filename string) ([]string, error) {
|
func Readfile(filename string) ([]string, error) {
|
||||||
file, err := os.Open(filename)
|
file, err := os.Open(filename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Open %s error, %v", filename, err)
|
fmt.Printf("Open %s error, %v\n", filename, err)
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
defer file.Close()
|
defer file.Close()
|
||||||
|
Loading…
Reference in New Issue
Block a user