]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pretty-print: correct argument comment
authorJelle van der Waa <jvanderwaa@redhat.com>
Sat, 17 May 2025 16:07:58 +0000 (18:07 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Wed, 21 May 2025 08:50:25 +0000 (10:50 +0200)
src/shared/pretty-print.c

index 0f5ccde54f82420f0f9a062c4d726b37df9bcdda..cb13a244ab40ff64309470281651f88e6db1050e 100644 (file)
@@ -457,7 +457,7 @@ int terminal_tint_color(double hue, char **ret) {
                 return log_debug_errno(r, "Unable to get terminal background color: %m");
 
         double s, v;
-        rgb_to_hsv(red, green, blue, /* h= */ NULL, &s, &v);
+        rgb_to_hsv(red, green, blue, /* ret_h= */ NULL, &s, &v);
 
         if (v > 50) /* If the background is bright, then pull down saturation */
                 s = 25;