]> andersk Git - moira.git/blobdiff - update/exec_002.c
don't canonicalize_hostname() the cluster name!
[moira.git] / update / exec_002.c
index 1288793c5602cc42427d22fe135957ecf993173e..f0fbbf4636854db5415efda5595f21818ee468b4 100644 (file)
@@ -2,11 +2,15 @@
  *     $Source$
  *     $Header$
  */
+/*  (c) Copyright 1988 by the Massachusetts Institute of Technology. */
+/*  For copying and distribution information, please see the file */
+/*  <mit-copyright.h>. */
 
 #ifndef lint
 static char *rcsid_exec_002_c = "$Header$";
 #endif lint
 
+#include <mit-copyright.h>
 #include <stdio.h>
 #include <sys/wait.h>
 #include <signal.h>
@@ -54,7 +58,7 @@ exec_002(str)
        } while (n != -1 && n != pid);
        sigsetmask(mask);
        if (waitb.w_status) {
-           n = waitb.w_retcode + sms_err_base;
+           n = waitb.w_retcode + ERROR_TABLE_BASE_sms;
            log_priority = log_ERROR;
            com_err(whoami, n, " child exited with status %d", waitb.w_retcode);
            code = send_object(conn, (char *)&n, INTEGER_T);
This page took 0.198866 seconds and 4 git commands to generate.