Commit 975ade0c authored by Marc Vef's avatar Marc Vef
Browse files

ExAPI: Fix compile warnings

parent ccb98a46
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later                                    #
################################################################################

set (CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
add_executable(sfind sfind.cpp)
add_executable(gkfs_lib_example gkfs_lib_example.cpp)

+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ write_file(std::string filename) {
    cout << "FD open  " << fd << endl;

    char* bufwrite = (char*) malloc(10);
    strncpy(bufwrite, "testing", 7);
    strncpy(bufwrite, "testing\0", 8);


    int size = gkfs::syscall::gkfs_write(fd, bufwrite, 7);