Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - 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
Simple VME FMC Carrier SVEC - Software
Commits
03eb030b
Commit
03eb030b
authored
Nov 27, 2012
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: check for NULL as error value of vme_map
parent
8ab06fee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vme.c
tools/vme.c
+1
-1
No files found.
tools/vme.c
View file @
03eb030b
...
...
@@ -71,7 +71,7 @@ int main(int argc, char *argv[])
mapp
->
sizel
=
0x80000
;
mapp
->
vme_addrl
=
vmebase
;
if
((
ptr
=
vme_map
(
mapp
,
1
))
==
(
void
*
)
-
1
)
{
if
((
ptr
=
vme_map
(
mapp
,
1
))
==
NULL
)
{
printf
(
"could not map at 0x%08x
\n
"
,
vmebase
);
exit
(
1
);
}
...
...
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