Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
ZIO
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
1
Merge Requests
1
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
ZIO
Commits
03913517
Commit
03913517
authored
Mar 30, 2012
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core:trivial-fix: triggername max len is ZIO_OBJ_NAME_LEN
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
d6324967
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
zio-sys.c
zio-sys.c
+1
-1
No files found.
zio-sys.c
View file @
03913517
...
...
@@ -617,7 +617,7 @@ static void __zattr_trig_init_ctrl(struct zio_ti *ti, struct zio_control *ctrl)
int
i
;
struct
zio_ctrl_attr
*
ctrl_attr_trig
=
&
ctrl
->
attr_trigger
;
strncpy
(
ctrl
->
triggername
,
ti
->
cset
->
trig
->
head
.
name
,
ZIO_NAME_LEN
);
strncpy
(
ctrl
->
triggername
,
ti
->
cset
->
trig
->
head
.
name
,
ZIO_
OBJ_
NAME_LEN
);
/* Copy trigger value */
for
(
i
=
0
;
i
<
ti
->
zattr_set
.
n_std_attr
;
++
i
)
__zattr_valcpy
(
ctrl_attr_trig
,
&
ti
->
zattr_set
.
std_zattr
[
i
]);
...
...
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