Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
7fb83c9c
Commit
7fb83c9c
authored
Apr 14, 2010
by
Thomas White
Browse files
Improve error messages
parent
d8750c73
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/indexamajig.c
View file @
7fb83c9c
...
...
@@ -478,11 +478,11 @@ int main(int argc, char *argv[])
}
else
{
fh
=
fopen
(
filename
,
"r"
);
}
free
(
filename
);
if
(
fh
==
NULL
)
{
ERROR
(
"Failed to open input file
\n
"
);
ERROR
(
"Failed to open input file
'%s'
\n
"
,
filename
);
return
1
;
}
free
(
filename
);
if
(
intfile
!=
NULL
)
{
counts
=
new_list_count
();
...
...
src/reflections.c
View file @
7fb83c9c
...
...
@@ -93,7 +93,7 @@ double *read_reflections(const char *filename, unsigned int *counts)
fh
=
fopen
(
filename
,
"r"
);
if
(
fh
==
NULL
)
{
ERROR
(
"Failed to open input file
\n
"
);
ERROR
(
"Failed to open input file
'%s'
\n
"
,
filename
);
return
NULL
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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