Apply 3 suggestion(s) to 1 file(s)
authorJason Nader <8526-ammgws@users.noreply.gitlab.freedesktop.org>
Sat, 13 Mar 2021 23:49:44 +0000 (23:49 +0000)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Mon, 17 May 2021 15:35:07 +0000 (15:35 +0000)
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/430>

src/utils/pactl.c

index f429594..66b8f5e 100644 (file)
@@ -1075,7 +1075,7 @@ static void get_sink_mute_callback(pa_context *c, const pa_sink_info *i, int is_
     pa_assert(i);
 
     printf(("Mute: %s\n"),
-           pa_yes_no_localised(&i->mute));
+           pa_yes_no_localised(i->mute));
 
     complete_action();
 }
@@ -1134,7 +1134,7 @@ static void get_source_mute_callback(pa_context *c, const pa_source_info *i, int
     pa_assert(i);
 
     printf(("Mute: %s\n"),
-           pa_yes_no_localised(&i->mute));
+           pa_yes_no_localised(i->mute));
 
     complete_action();
 }
@@ -1849,7 +1849,7 @@ static void help(const char *argv0) {
     printf("%s %s %s %s\n", argv0, _("[options]"), "move-(sink-input|source-output)", _("#N SINK|SOURCE"));
     printf("%s %s %s %s\n", argv0, _("[options]"), "suspend-(sink|source)", _("NAME|#N 1|0"));
     printf("%s %s %s %s\n", argv0, _("[options]"), "set-card-profile ", _("CARD PROFILE"));
-    printf("%s %s %s %s\n", argv0, _("[options]"), "get-default-(sink|source)");
+    printf("%s %s %s\n", argv0, _("[options]"), "get-default-(sink|source)");
     printf("%s %s %s %s\n", argv0, _("[options]"), "set-default-(sink|source)", _("NAME"));
     printf("%s %s %s %s\n", argv0, _("[options]"), "set-(sink|source)-port", _("NAME|#N PORT"));
     printf("%s %s %s %s\n", argv0, _("[options]"), "get-(sink|source)-volume", _("NAME|#N"));