Changeset 29754
- Timestamp:
- Nov 10, 2010, 5:38:10 PM (15 years ago)
- Location:
- trunk/Ohana/src/relphot/src
- Files:
-
- 2 edited
-
SetSignals.c (modified) (1 diff)
-
load_catalogs.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relphot/src/SetSignals.c
r13322 r29754 15 15 return; 16 16 } 17 Shutdown (" halted by signal (trapped)");17 Shutdown ("%s","halted by signal (trapped)"); 18 18 } 19 19 20 20 void SetProtect (int mode) { 21 21 Protect = mode; 22 if (Trapped && !Protect) Shutdown (" halted by signal (protect)");22 if (Trapped && !Protect) Shutdown ("%s","halted by signal (protect)"); 23 23 } 24 24 -
trunk/Ohana/src/relphot/src/load_catalogs.c
r28241 r29754 47 47 48 48 fprintf (stderr, "using %d of %d stars (%d of %d measurements)\n", Nstar, Nstar_total, Nmeas, Nmeas_total); 49 if (Nstar < 1) { 50 Shutdown ("ERROR: no stars match the minimum requirements; exiting\n"); 51 } 49 if (Nstar < 1) Shutdown ("%s", "ERROR: no stars match the minimum requirements; exiting \n"); 50 52 51 53 52 // XXX consider only returning the populated catalogs
Note:
See TracChangeset
for help on using the changeset viewer.
