add sysErrorBelch() for reporting system call errors
[ghc-hetmet.git] / rts / posix / GetTime.c
index 3a0764c..89d83a3 100644 (file)
@@ -89,7 +89,7 @@ void getProcessTimes(Ticks *user, Ticks *elapsed)
        long ticks;
        ticks = sysconf(_SC_CLK_TCK);
        if ( ticks == -1 ) {
-           errorBelch("sysconf\n");
+           sysErrorBelch("sysconf");
            stg_exit(EXIT_FAILURE);
        }
        ClockFreq = ticks;