Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
19a01f6c
Commit
19a01f6c
authored
Aug 06, 2018
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor: bug fix in T tracer 'to_vcd'
parent
1752c929
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
common/utils/T/tracer/to_vcd.c
common/utils/T/tracer/to_vcd.c
+1
-2
No files found.
common/utils/T/tracer/to_vcd.c
View file @
19a01f6c
...
@@ -304,8 +304,7 @@ int main(int n, char **v)
...
@@ -304,8 +304,7 @@ int main(int n, char **v)
/* setup traces */
/* setup traces */
for
(
i
=
0
;
i
<
nvars
;
i
++
)
{
for
(
i
=
0
;
i
<
nvars
;
i
++
)
{
char
format
[
256
];
char
format
[
256
];
if
(
strlen
(
vars
[
i
].
arg
)
>
256
-
3
)
abort
();
if
(
strlen
(
vars
[
i
].
arg
)
+
strlen
(
vars
[
i
].
vcd_name
)
>
256
-
16
)
abort
();
if
(
strlen
(
vars
[
i
].
vcd_name
)
>
256
-
1
)
abort
();
sprintf
(
format
,
"%c [%s] %s"
,
sprintf
(
format
,
"%c [%s] %s"
,
vars
[
i
].
boolean
?
'b'
:
'l'
,
vars
[
i
].
boolean
?
'b'
:
'l'
,
vars
[
i
].
arg
,
vars
[
i
].
arg
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment