/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugin-runner.c

  • Committer: Teddy Hogeborn
  • Date: 2009-02-07 03:28:24 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090207032824-5eg756uscdr3gend
* initramfs-tools-hook: Also fix /lib<qual> and /usr/lib<qual>
                        directories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
969
969
 
970
970
          if(debug){
971
971
            if(WIFEXITED(proc->status)){
972
 
              fprintf(stderr, "Plugin %s [%" PRIdMAX "] exited with"
973
 
                      " status %d\n", proc->name,
974
 
                      (intmax_t) (proc->pid),
 
972
              fprintf(stderr, "Plugin %" PRIdMAX " exited with status"
 
973
                      " %d\n", (intmax_t) (proc->pid),
975
974
                      WEXITSTATUS(proc->status));
976
975
            } else if(WIFSIGNALED(proc->status)){
977
 
              fprintf(stderr, "Plugin %s [%" PRIdMAX "] killed by"
978
 
                      " signal %d\n", proc->name,
979
 
                      (intmax_t) (proc->pid),
 
976
              fprintf(stderr, "Plugin %" PRIdMAX " killed by signal"
 
977
                      " %d\n", (intmax_t) (proc->pid),
980
978
                      WTERMSIG(proc->status));
981
979
            } else if(WCOREDUMP(proc->status)){
982
 
              fprintf(stderr, "Plugin %s [%" PRIdMAX "] dumped"
983
 
                      " core\n", proc->name, (intmax_t) (proc->pid));
 
980
              fprintf(stderr, "Plugin %" PRIdMAX " dumped core\n",
 
981
                      (intmax_t) (proc->pid));
984
982
            }
985
983
          }
986
984