Changeset 6311 for anuga_core/source/anuga/shallow_water/urs_ext.c
- Timestamp:
- Feb 11, 2009, 2:36:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/urs_ext.c
r5972 r6311 9 9 #include "math.h" 10 10 #include <stdio.h> 11 #include <string.h> 12 #include <errno.h> 11 13 #include <float.h> 12 14 #include <time.h> … … 219 221 if((fp = fopen(muxFileName, "r")) == NULL) 220 222 { 221 fprintf(stderr, "cannot open file %s\n", muxFileName); 223 char *err_msg = strerror(errno); 224 225 fprintf(stderr, "cannot open file '%s': %s\n", muxFileName, err_msg); 222 226 return -1; 223 227 }
Note: See TracChangeset
for help on using the changeset viewer.