Logo Search packages:      
Sourcecode: rapple version File versions  Download package

static void config_missing_file_error ( rpl_str_t  info,
rpl_str_t  filename 
) [static]

Displays an error message when a required file or directory does not exist.

info very brief leader explaining the reason for the error.
filename name of file or directory that is absent.

Definition at line 73 of file confp.c.

References rpl_log_fatal(), and rpl_message_get().

Referenced by config_end().

      rpl_str_t err_msg;

      assert((info != NULL) && (filename != NULL));

      err_msg = rpl_message_get("CONFIG_STAT_FAILED", info, ": ", filename, RPL_EOM);
      fprintf(stderr, "%s\n", err_msg);

Generated by  Doxygen 1.6.0   Back to index