Skip to content

Commit 82a1eaf

Browse files
committed
Chore: tidy tabs
1 parent 75a023f commit 82a1eaf

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

src/common/netif/netif_gnu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bool ffNetifGetDefaultRouteImplV4(FFNetifDefaultRouteResult* result)
2121
{
2222
if (destination != 0) continue;
2323
result->ifIndex = if_nametoindex(result->ifName);
24-
// TODO: Get the preferred source address
24+
// TODO: Get the preferred source address
2525
return true;
2626
}
2727
result->ifName[0] = '0';

src/common/processing_linux.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,9 @@ const char* ffProcessGetBasicInfoLinux(pid_t pid, FFstrbuf* name, pid_t* ppid, i
471471
if(nRead <= 0)
472472
return "ffReadFileBuffer(/proc/pid/comm, name) failed";
473473
ffStrbufTrimRightSpace(name);
474-
#else
475-
// No /proc/1/comm on Hurd so read /proc/1/stat again
476-
snprintf(procFilePath, sizeof(procFilePath), "/proc/%d/stat", (int)pid);
474+
#else
475+
// No /proc/1/comm on Hurd so read /proc/1/stat again
476+
snprintf(procFilePath, sizeof(procFilePath), "/proc/%d/stat", (int)pid);
477477
char buf[PROC_FILE_BUFFSIZ];
478478
ssize_t nRead = ffReadFileData(procFilePath, sizeof(buf) - 1, buf);
479479
if(nRead <= 8)
@@ -488,7 +488,7 @@ const char* ffProcessGetBasicInfoLinux(pid_t pid, FFstrbuf* name, pid_t* ppid, i
488488
return "sscanf(stat) failed";
489489

490490
ffStrbufRecalculateLength(name);
491-
#endif
491+
#endif
492492
}
493493

494494
#elif defined(__APPLE__)

src/detection/initsystem/initsystem_linux.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ const char* ffDetectInitSystem(FFInitSystemResult* result)
8686
}
8787
else if (ffStrbufEqualS(&result->name, "guile"))
8888
{
89-
/* TODO: guile is actually shepherd */
90-
if (ffProcessAppendStdOut(&result->version, (char* const[]) {
91-
ffStrbufEndsWithS(&result->exe, "/guile") ? result->exe.chars : "guile",
92-
"--version",
89+
/* TODO: guile is actually shepherd */
90+
if (ffProcessAppendStdOut(&result->version, (char* const[]) {
91+
ffStrbufEndsWithS(&result->exe, "/guile") ? result->exe.chars : "guile",
92+
"--version",
9393
NULL,
9494
}) == NULL && result->version.length)
9595
{
96-
/* guile (GNU Guile) 3.0.9 */
96+
/* guile (GNU Guile) 3.0.9 */
9797
ffStrbufSubstrBeforeFirstC(&result->version, '\n');
9898
ffStrbufSubstrAfterLastC(&result->version, ' ');
9999
}

src/detection/swap/swap_haiku.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const char* ffDetectSwap(FFlist* result)
1616
if (kvms)
1717
{
1818
const char* swapAuto = get_driver_parameter(kvms, "swap_auto", NULL, NULL);
19-
if (swapAuto)
19+
if (swapAuto)
2020
ffStrbufSetStatic(&swap->name, swapAuto[0] == 'y' ? "Auto" : "Manual");
2121
unload_driver_settings(kvms);
2222
}

src/util/apple/Info.plist.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<string>fastfetch</string>
77
<key>CFBundleName</key>
88
<string>@PROJECT_NAME@</string>
9-
<key>CFBundleShortVersionString</key>
10-
<string>@PROJECT_VERSION@</string>
9+
<key>CFBundleShortVersionString</key>
10+
<string>@PROJECT_VERSION@</string>
1111
<key>CFBundleDevelopmentRegion</key>
1212
<string>English</string>
1313
<key>NSBluetoothAlwaysUsageDescription</key>

0 commit comments

Comments
 (0)