From e75419aeaf7de3dc6bfd548684dd017053808fd2 Mon Sep 17 00:00:00 2001
From: Mechiel Lukkien <mechiel@ueber.net>
Date: Thu, 8 Feb 2024 15:08:26 +0100
Subject: [PATCH] unbreak rfc/xr.go after changing golang.org/x/exp/maps

shouldn't have changed this one.
---
 rfc/xr.go | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rfc/xr.go b/rfc/xr.go
index 60f9f01..b765651 100644
--- a/rfc/xr.go
+++ b/rfc/xr.go
@@ -11,13 +11,14 @@ import (
 	"fmt"
 	htmltemplate "html/template"
 	"log"
-	"maps"
 	"os"
 	"path/filepath"
 	"regexp"
 	"sort"
 	"strconv"
 	"strings"
+
+	"golang.org/x/exp/maps"
 )
 
 var destdir string
@@ -32,7 +33,7 @@ func xwritefile(path string, buf []byte) {
 	p := filepath.Join(destdir, path)
 	os.MkdirAll(filepath.Dir(p), 0755)
 	err := os.WriteFile(p, buf, 0644)
-	xcheckf(err, "writing file", p)
+	xcheckf(err, "writing file %s", p)
 }
 
 func main() {