Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha - Software
Commits
6733a2c2
Commit
6733a2c2
authored
May 15, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: initialize memory
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
5467b4f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
fdelay-init.c
lib/fdelay-init.c
+1
-0
No files found.
lib/fdelay-init.c
View file @
6733a2c2
...
...
@@ -68,6 +68,7 @@ struct fdelay_board *fdelay_open(int dev_id)
b
=
malloc
(
sizeof
(
*
b
));
if
(
!
b
)
return
NULL
;
memset
(
b
,
0
,
sizeof
(
*
b
));
/* get sysfs */
snprintf
(
path
,
sizeof
(
path
),
...
...
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