CDS_INIT_LIST_HEAD(&channel->streams.head);
- DBG("Allocated channel (key %" PRIu64 ")", channel->key)
+ DBG("Allocated channel (key %" PRIu64 ")", channel->key);
end:
return channel;
*/
ret = posix_fadvise(outfd, orig_offset - stream->max_sb_size,
stream->max_sb_size, POSIX_FADV_DONTNEED);
- if (ret) {
- WARN("posix_fadvise() error (%i)", ret);
+ if (ret && ret != -ENOSYS) {
+ errno = -ret;
+ PERROR("posix_fadvise");
}
}