root/include/pcmki/pcmki_error.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright 2007-2019 the Pacemaker project contributors
   3  *
   4  * The version control history for this file may have further details.
   5  *
   6  * This source code is licensed under the GNU Lesser General Public License
   7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
   8  */
   9 #ifndef PCMKI_ERROR__H
  10 #  define PCMKI_ERROR__H
  11 
  12 #define CMD_ERR(fmt, args...) do {              \
  13             crm_warn(fmt, ##args);              \
  14             fprintf(stderr, fmt "\n", ##args);  \
  15         } while(0)
  16 
  17 #endif

/* [previous][next][first][last][top][bottom][index][help] */