Skip to content

Commit

Permalink
hotfix: fix too many args passed to Fprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
neutralinsomniac committed Jan 8, 2021
1 parent b96ac01 commit 30e064f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/obsdpkgup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func main() {
// now parse the actual package list
allPkgs = parseObsdPkgUpList(string(bodyBytes[quirksEndIndex:]))
case 404:
fmt.Fprintf(os.Stderr, "unable to locate pkgup index at '%s'.\n", pkgUpIndexUrl, os.Args[0])
fmt.Fprintf(os.Stderr, "unable to locate pkgup index at '%s'.\n", pkgUpIndexUrl)
os.Exit(1)
default:
fmt.Fprintf(os.Stderr, "unexpected HTTP response: %d\n", resp.StatusCode)
Expand Down

0 comments on commit 30e064f

Please sign in to comment.