lib/cobalt: Fix help for --print-sync-delay
PATCH 1/1 lib/cobalt: Fix help for --print-sync-delay
From: Jan Kiszka <[email protected]>
Misnamed by the original commit f42334abc373.
While at it, also fix indention style.
Reported-by Steve Freyder <[email protected]>
Signed-off-by Jan Kiszka <[email protected]>
---
Seems like I missed this because it wasn't presented as patch. Will go to stable as well.
lib/cobalt/init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
lib/cobalt/init.c +4 -4
@@ -353,10 +353,10 @@ static int cobalt_parse_option(int optnum, const char *optarg)static void cobalt_help (void ) { -fprintf (stderr,"--main-prio=<prio> main thread priority\n" ); -fprintf (stderr,"--print-buffer-size=<bytes> size of a print relay buffer (16k)\n" ); -fprintf (stderr,"--print-buffer-count=<num> number of print relay buffers (4)\n" ); -fprintf (stderr,"--print-buffer-syncdelay=<ms> max delay of output synchronization (100 ms)\n" ); +fprintf (stderr,"--main-prio=<prio> main thread priority\n" ); +fprintf (stderr,"--print-buffer-size=<bytes> size of a print relay buffer (16k)\n" ); +fprintf (stderr,"--print-buffer-count=<num> number of print relay buffers (4)\n" ); +fprintf (stderr,"--print-sync-delay=<ms> max delay of output synchronization (100 ms)\n" ); }static struct setup_descriptor cobalt_interface = {
Signature · 6 lines
2.16.4 -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Quoted 26 lines · Jan Kiszka via Xenomai
From: Jan Kiszka <[email protected]>
Misnamed by the original commit
f42334abc373.While at it, also fix indention style.
Reported-by Steve Freyder <[email protected]>Signed-off-by Jan Kiszka <[email protected]>---
Seems like I missed this because it wasn't presented as patch. Will go to stable as well.
lib/cobalt/init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)lib/cobalt/init.c +0
-1@@ -353,10 +353,10 @@ static int cobalt_parse_option(int optnum, const char *optarg)static void cobalt_help (void ) { -fprintf (stderr,"--main-prio=<prio>main thread priority\n" );
lib/cobalt/init.c static int cobalt_parse_option(int optnum, const char *optarg) · line 362
Quoted 10 lines
lib/cobalt/init.c +4
-3-fprintf (stderr,"--print-buffer-size=<bytes>size of a print relay buffer (16k)\n" ); -fprintf (stderr,"--print-buffer-count=<num>number of print relay buffers (4)\n" ); -fprintf (stderr,"--print-buffer-syncdelay=<ms>max delay of output synchronization (100 ms)\n" ); +fprintf (stderr,"--main-prio=<prio>main thread priority\n" ); +fprintf (stderr,"--print-buffer-size=<bytes>size of a print relay buffer (16k)\n" ); +fprintf (stderr,"--print-buffer-count=<num>number of print relay buffers (4)\n" ); +fprintf (stderr,"--print-sync-delay=<ms>max delay of output synchronization (100 ms)\n" ); }static struct setup_descriptor cobalt_interface = {
This patch fixes the issue for me. Thanks!
-Jeff