diff --git a/path_properties.py b/path_properties.py index f19700f..4c4767f 100644 --- a/path_properties.py +++ b/path_properties.py @@ -255,7 +255,6 @@ def get(path): gnu_extension_properties = { 'c_std': 'gnu11', - 'cc_pedantic': False, 'cxx_std': 'gnu++17' } # https://cirosantilli.com/linux-kernel-module-cheat#freestanding-programs diff --git a/userland/linux/mmap_anonymous_touch.c b/userland/linux/mmap_anonymous_touch.c index 513864f..bac9b95 100644 --- a/userland/linux/mmap_anonymous_touch.c +++ b/userland/linux/mmap_anonymous_touch.c @@ -29,7 +29,7 @@ void ProcStat_init(ProcStatm *result) { } if(7 != fscanf( f, - "%ld %ld %ld %ld %ld %ld %ld", + "%lu %lu %lu %lu %lu %lu %lu", &(result->size), &(result->resident), &(result->share),