aboutsummaryrefslogtreecommitdiffstats
path: root/prog/prio.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/prio.go')
-rw-r--r--prog/prio.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/prio.go b/prog/prio.go
index b64a8a9e2..9cbc5552a 100644
--- a/prog/prio.go
+++ b/prog/prio.go
@@ -192,7 +192,7 @@ func noteUsage(uses map[string]map[int]weights, c *Syscall, weight int32, dir Di
noteUsagef(uses, c, weight, dir, "%v", str)
}
-func noteUsagef(uses map[string]map[int]weights, c *Syscall, weight int32, dir Dir, str string, args ...interface{}) {
+func noteUsagef(uses map[string]map[int]weights, c *Syscall, weight int32, dir Dir, str string, args ...any) {
id := fmt.Sprintf(str, args...)
if uses[id] == nil {
uses[id] = make(map[int]weights)