Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
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
Commits
5d307f93
Commit
5d307f93
authored
Apr 14, 2014
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/fmc-fdelay-pulse.c: don't rely on errno for displaying errors in fd_config_pulse()
parent
6d1f5ba1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fmc-fdelay-pulse.c
tools/fmc-fdelay-pulse.c
+3
-3
No files found.
tools/fmc-fdelay-pulse.c
View file @
5d307f93
...
...
@@ -210,7 +210,7 @@ int main(int argc, char **argv)
{
struct
fdelay_board
*
b
;
int
nboards
;
int
i
,
opt
,
index
=
-
1
,
dev
=
-
1
;
int
i
,
opt
,
index
=
-
1
,
dev
=
-
1
,
err
=
0
;
/* our parameters */
int
count
=
0
,
channel
=
-
1
;
int
trigger_wait
=
0
,
verbose
=
0
;
...
...
@@ -381,9 +381,9 @@ int main(int argc, char **argv)
report_output_config
(
channel
,
&
p
,
TOOLS_UMODE_USER
);
if
(
fdelay_config_pulse
(
b
,
channel
,
&
p
)
<
0
)
{
if
(
(
err
=
fdelay_config_pulse
(
b
,
channel
,
&
p
)
)
<
0
)
{
fprintf
(
stderr
,
"%s: fdelay_config_pulse(): %s
\n
"
,
argv
[
0
],
strerror
(
errno
));
argv
[
0
],
strerror
(
-
err
));
exit
(
1
);
}
while
(
trigger_wait
)
{
...
...
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