#include <unistd.h>
#include <config.h>
-#include <common/lttngerr.h>
+#include <common/error.h>
#include <common/defaults.h>
#include "poll.h"
if (ret < 0) {
switch (errno) {
case EEXIST:
+ /* If exist, it's OK. */
+ goto end;
case ENOSPC:
case EPERM:
/* Print perror and goto end not failing. Show must go on. */