Small error message fix.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 21 Apr 2013 12:00:27 +0000 (14:00 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 21 Apr 2013 12:00:27 +0000 (14:00 +0200)
stream.cpp

index 6a84027..0c0faba 100644 (file)
@@ -185,7 +185,7 @@ void Stream::add_data_raw(const vector<iovec> &orig_data)
                } while (ret == -1 && errno == EINTR);
 
                if (ret == -1) {
                } while (ret == -1 && errno == EINTR);
 
                if (ret == -1) {
-                       log_perror("pwrite");
+                       log_perror("pwritev");
                        // Dazed and confused, but trying to continue...
                        return;
                }
                        // Dazed and confused, but trying to continue...
                        return;
                }