Commit b8a75d91 authored by Nafi3's avatar Nafi3
Browse files

fix changes to small read and write test

parent 6806c50d
Loading
Loading
Loading
Loading
+1 −1
Changes for ifs_test/wr_test.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ int main(int argc, char* argv[]) {
        cerr << "Error opening file (write)" << endl;
        return -1;
    }
    auto nw = pwrite(fd, buffIn, strlen(buffIn), 10000);
    auto nw = write(fd, buffIn, strlen(buffIn));
    if(nw != strlen(buffIn)){
        cerr << "Error writing file" << endl;
        return -1;