Message ID | 20210320183829.1318-7-dwagner@suse.de |
---|---|
State | New |
Headers | show |
Series | JSON cleanups and more tests updated | expand |
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 --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;
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(+)