diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index c66d5f75cadef86b8c4533f61f509ba3341a4fd7..96b0a57a5c14854f169db96b4ec155daa5e81e47 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -438,6 +438,7 @@ (define (update-source file old-version version
         (begin
           (format (current-error-port)
                   (_ "~a: ~a: no `version' field in source; skipping~%")
-                  name (package-location package))))))
+                  (location->string (package-location package))
+                  name)))))
 
 ;;; gnu-maintenance.scm ends here