Skip to content

Commit 63d8596

Browse files
committed
sysinfo.c: Removed trailing whitespace
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent da16ddd commit 63d8596

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libenv/sysinfo.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ static void OSReleaseParse(EvalContext *ctx, const char *file_path)
11801180
{
11811181
alias = "redhat";
11821182
}
1183-
else if (StringEqual(os_release_id, "opensuse") ||
1183+
else if (StringEqual(os_release_id, "opensuse") ||
11841184
StringEqual(os_release_id, "sles"))
11851185
{
11861186
alias = "suse";
@@ -3503,13 +3503,13 @@ static void SysOSNameHuman(EvalContext *ctx)
35033503

35043504
/**
35053505
* Find next integer from string in place. Leading zero's are included.
3506-
*
3506+
*
35073507
* @param [in] str string to extract next integer from
35083508
* @param [out] num pointer to start of next integer or %NULL if no integer
35093509
* number was found
3510-
*
3510+
*
35113511
* @return pointer to the remaining string in `str` or %NULL if no remainder
3512-
*
3512+
*
35133513
* @note `str` will be mutated
35143514
*/
35153515
static char *FindNextInteger(char *str, char **num)
@@ -3577,8 +3577,8 @@ static void SysOsVersionMajor(EvalContext *ctx)
35773577
}
35783578
else
35793579
{
3580-
EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS,
3581-
"os_version_major", major,
3580+
EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS,
3581+
"os_version_major", major,
35823582
CF_DATA_TYPE_STRING,
35833583
"source=agent,derived-from=flavor");
35843584
}

0 commit comments

Comments
 (0)