projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the expression code a little nicer and fix bugs found
[pspp-builds.git]
/
src
/
error.c
diff --git
a/src/error.c
b/src/error.c
index 1065fbd7ed93e7f20aa4216bf1fa16d5cea75809..7a7e997d9c397717cafc8f3110cf9665d59cb548 100644
(file)
--- a/
src/error.c
+++ b/
src/error.c
@@
-559,7
+559,7
@@
request_bug_report_and_abort(const char *msg )
void
err_assert_fail(const char *expr, const char *file, int line)
{
- c
onst c
har msg[256];
+ char msg[256];
snprintf(msg,256,"Assertion failed: %s:%d; (%s)",file,line,expr);
request_bug_report_and_abort( msg );
}