Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH - aconnect 1/1] fix aconnect -l option
@ 2014-05-07  4:06 Karl Bongers
  2014-05-07  6:51 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Bongers @ 2014-05-07  4:06 UTC (permalink / raw)
  To: patch; +Cc: alsa-devel, Karl Bongers

aconnect -l would just print usage.
This fix makes it do what usage says it should do.

Signed-off-by: Karl Bongers <karlbongers@gmail.com>

diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c
index 8c66cfd..8d6cebb 100644
--- a/seq/aconnect/aconnect.c
+++ b/seq/aconnect/aconnect.c
@@ -292,6 +292,7 @@ int main(int argc, char **argv)
 			convert_real = 0;
 			break;
 		case 'l':
+			command = LIST;
 			list_subs = 1;
 			break;
 		case 'x':
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH - aconnect 1/1] fix aconnect -l option
  2014-05-07  4:06 [PATCH - aconnect 1/1] fix aconnect -l option Karl Bongers
@ 2014-05-07  6:51 ` Jaroslav Kysela
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2014-05-07  6:51 UTC (permalink / raw)
  To: Karl Bongers; +Cc: alsa-devel

Date 7.5.2014 06:06, Karl Bongers wrote:
> aconnect -l would just print usage.
> This fix makes it do what usage says it should do.
> 
> Signed-off-by: Karl Bongers <karlbongers@gmail.com>

Thanks. Applied.

> 
> diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c
> index 8c66cfd..8d6cebb 100644
> --- a/seq/aconnect/aconnect.c
> +++ b/seq/aconnect/aconnect.c
> @@ -292,6 +292,7 @@ int main(int argc, char **argv)
>  			convert_real = 0;
>  			break;
>  		case 'l':
> +			command = LIST;
>  			list_subs = 1;
>  			break;
>  		case 'x':
> 


-- 
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-07  6:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07  4:06 [PATCH - aconnect 1/1] fix aconnect -l option Karl Bongers
2014-05-07  6:51 ` Jaroslav Kysela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox