minor source fixes

This commit is contained in:
bol-van
2021-12-03 23:01:49 +03:00
parent 37d2cf5989
commit 600473dd25
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ int getmaxcap()
FILE *F = fopen("/proc/sys/kernel/cap_last_cap", "r");
if (F)
{
fscanf(F, "%d", &maxcap);
int n = fscanf(F, "%d", &maxcap);
fclose(F);
}
return maxcap;