X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=stream.cpp;h=0c0fabac29c90f99330cfc8c5d634f3c78321f95;hp=b8604012f628fcce938e5861908af82436e1e0d6;hb=c0ffd43e514e6392835ef85529423744263809af;hpb=58d50f2d9710403ea7bddf0fb290a90777c8dd68 diff --git a/stream.cpp b/stream.cpp index b860401..0c0faba 100644 --- a/stream.cpp +++ b/stream.cpp @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include @@ -185,7 +185,7 @@ void Stream::add_data_raw(const vector &orig_data) } while (ret == -1 && errno == EINTR); if (ret == -1) { - log_perror("pwrite"); + log_perror("pwritev"); // Dazed and confused, but trying to continue... return; }