diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-01-25 23:37:10 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-01-26 10:48:45 +0100 |
commit | ae41da676011401453580029d83407f008ae8745 (patch) | |
tree | 13bf947360d48a9c6f8dbfe6e6726a290352f629 /src | |
parent | 8c27cf75adef7381dc5517cf3225d00e0bf8f10f (diff) |
Slightly more helpful warning message
Diffstat (limited to 'src')
-rw-r--r-- | src/sfac.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -526,7 +526,9 @@ void get_reflections_cached(struct molecule *mol, double en) mol->reflections = new_list_sfac(); r = fread(mol->reflections, sizeof(double complex), IDIM*IDIM*IDIM, fh); if ( r < IDIM*IDIM*IDIM ) { - STATUS("Found cache file (%s), but failed to read.\n", s); + STATUS("Found cache file (%s), but failed to read" + " (got %lli items, wanted %i).\n", + s, (long long)r, IDIM*IDIM*IDIM); goto calc; } |