diff --git a/cmd/links/links.go b/cmd/links/links.go
index 2263414db740e154d71cc30c07521522fb1c3bfa..0fc87c39082f15b217c9758d91257cb758da6f3c 100644
--- a/cmd/links/links.go
+++ b/cmd/links/links.go
@@ -20,7 +20,7 @@ var (
 	validSchemes = flag.String("schemes", "http,https", "comma-separated list of allowed protocols")
 )
 
-func extractLinks(p crawl.Publisher, u string, depth int, resp *http.Response, _ error) error {
+func extractLinks(p crawl.Publisher, u string, tag, depth int, resp *http.Response, _ error) error {
 	links, err := analysis.GetLinks(resp)
 	if err != nil {
 		// Not a fatal error, just a bad web page.