mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-05 20:54:21 +01:00
Style: adds Cpp11BracedListStyle: Block
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
const char* ffDetectMemory(FFMemoryResult* ram) {
|
||||
struct uvmexp buf;
|
||||
size_t length = sizeof(buf);
|
||||
if (sysctl((int[]) {CTL_VM, VM_UVMEXP}, 2, &buf, &length, NULL, 0) < 0) {
|
||||
if (sysctl((int[]) { CTL_VM, VM_UVMEXP }, 2, &buf, &length, NULL, 0) < 0) {
|
||||
return "sysctl(CTL_VM, VM_UVMEXP) failed";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user