#include <polyp/xmalloc.h>
+#include <polypcore/core-error.h>
#include <polypcore/module.h>
-#include <polypcore/util.h>
+#include <polypcore/core-util.h>
#include <polypcore/modargs.h>
#include <polypcore/log.h>
#include <polypcore/core-subscribe.h>
#include <polypcore/sink-input.h>
-#include <polypcore/util.h>
+#include <polypcore/core-util.h>
#include <polyp/volume.h>
#include "module-volume-restore-symdef.h"
pa_log_info(__FILE__": starting with empty ruleset.");
ret = 0;
} else
- pa_log(__FILE__": failed to open file '%s': %s", u->table_file, strerror(errno));
+ pa_log(__FILE__": failed to open file '%s': %s", u->table_file, pa_cstrerror(errno));
goto finish;
}
pa_open_config_file(NULL, DEFAULT_VOLUME_TABLE_FILE, NULL, &u->table_file, "w");
if (!f) {
- pa_log(__FILE__": failed to open file '%s': %s", u->table_file, strerror(errno));
+ pa_log(__FILE__": failed to open file '%s': %s", u->table_file, pa_cstrerror(errno));
goto finish;
}