diff mbox series

[rt-tests,v3,06/33] oslat: Initialize rt-util

Message ID 20210320183829.1318-7-dwagner@suse.de
State New
Headers show
Series JSON cleanups and more tests updated | expand

Commit Message

Daniel Wagner March 20, 2021, 6:38 p.m. UTC
Allow rt-util make a copy of the command line.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
---
 src/oslat/oslat.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

John Kacur May 7, 2021, 4:29 p.m. UTC | #1
On Sat, 20 Mar 2021, Daniel Wagner wrote:

> Allow rt-util make a copy of the command line.

> 

> Signed-off-by: Daniel Wagner <dwagner@suse.de>

> ---

>  src/oslat/oslat.c | 2 ++

>  1 file changed, 2 insertions(+)

> 

> diff --git a/src/oslat/oslat.c b/src/oslat/oslat.c

> index 465a694cdd1d..da7b25d48384 100644

> --- a/src/oslat/oslat.c

> +++ b/src/oslat/oslat.c

> @@ -796,6 +796,8 @@ int main(int argc, char *argv[])

>  		exit(1);

>  	}

>  

> +	rt_init(argc, argv);

> +

>  	g.app_name = argv[0];

>  	g.rtprio = 0;

>  	g.bucket_size = BUCKET_SIZE;

> -- 

> 2.30.2

> 

> 


Signed-off-by: John Kacur <jkacur@redhat.com>
diff mbox series

Patch

diff --git a/src/oslat/oslat.c b/src/oslat/oslat.c
index 465a694cdd1d..da7b25d48384 100644
--- a/src/oslat/oslat.c
+++ b/src/oslat/oslat.c
@@ -796,6 +796,8 @@  int main(int argc, char *argv[])
 		exit(1);
 	}
 
+	rt_init(argc, argv);
+
 	g.app_name = argv[0];
 	g.rtprio = 0;
 	g.bucket_size = BUCKET_SIZE;