1
1
Fork 0
mirror of https://github.com/OJ/gobuster.git synced 2024-06-02 06:36:03 +02:00

Fix format string issue with thread error message

This commit is contained in:
OJ 2018-07-05 16:37:32 +10:00
parent 3ea76651b4
commit 3fd7cb38ad
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597

View File

@ -61,7 +61,7 @@ func ValidateState(
}
if s.Threads < 0 {
errorList = multierror.Append(errorList, fmt.Errorf("[!] Threads (-t): Invalid value: %s", s.Threads))
errorList = multierror.Append(errorList, fmt.Errorf("[!] Threads (-t): Invalid value: %d", s.Threads))
}
stdin, err := os.Stdin.Stat()