diff --git a/ghc/rts/Main.c b/ghc/rts/Main.c index 8dc044aed673d610527139789a3949e2beca65cc..49abe0323ddcb83fe1eebb39ce7dcb8b3d140b48 100644 --- a/ghc/rts/Main.c +++ b/ghc/rts/Main.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Main.c,v 1.15 2000/01/14 13:17:16 hwloidl Exp $ + * $Id: Main.c,v 1.16 2000/01/14 13:38:54 simonmar Exp $ * * (c) The GHC Team 1998-1999 * @@ -120,8 +120,8 @@ int main(int argc, char *argv[]) case Success: exit_status = EXIT_SUCCESS; break; - case NoStatus: - barf("main thread completed with no status"); + default: + barf("main thread completed with invalid status"); } shutdownHaskellAndExit(exit_status); }