aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/lint.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index e3b06977ee..83dde9a1a1 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -81,10 +81,10 @@ Run a set of checkers on the specified package; if none is specified, run the ch
;; provided MESSAGE.
(let ((loc (or (package-field-location package field)
(package-location package))))
- (warning (_ "~a: ~a: ~a~%")
- (location->string loc)
- (package-full-name package)
- message)))
+ (format (guix-warning-port) (_ "~a: ~a: ~a~%")
+ (location->string loc)
+ (package-full-name package)
+ message)))
;;;