about summary refs log tree commit diff
path: root/src/systemd/nm-sd-utils-core.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2021-01-11 17:41:24 +0100
committerSebastien Bacher <seb128@ubuntu.com>2021-01-11 17:41:24 +0100
commita82e048a943092315a32d745c99e0f5635e29134 (patch)
treee2daea99a161768c9b956bfea9117289deaf31be /src/systemd/nm-sd-utils-core.c
parentb51f06ff71a2060925bf3c0f04c44bd12480e670 (diff)
parent65f86e8f56267192d42f2b629fc6b0c99fb9cd0c (diff)
Merge branch 'upstream/latest' of https://salsa.debian.org/utopia-team/network-manager into upstream/latest
Diffstat (limited to 'src/systemd/nm-sd-utils-core.c')
-rw-r--r--src/systemd/nm-sd-utils-core.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/systemd/nm-sd-utils-core.c b/src/systemd/nm-sd-utils-core.c
index 4057c70a..804c7282 100644
--- a/src/systemd/nm-sd-utils-core.c
+++ b/src/systemd/nm-sd-utils-core.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-2.1+
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /*
  * Copyright (C) 2018 Red Hat, Inc.
  */
@@ -16,12 +16,12 @@
 /*****************************************************************************/
 
 NMUuid *
-nm_sd_utils_id128_get_machine (NMUuid *out_uuid)
+nm_sd_utils_id128_get_machine(NMUuid *out_uuid)
 {
-	g_assert (out_uuid);
+    g_assert(out_uuid);
 
-	G_STATIC_ASSERT_EXPR (sizeof (*out_uuid) == sizeof (sd_id128_t));
-	if (sd_id128_get_machine ((sd_id128_t *) out_uuid) < 0)
-		return NULL;
-	return out_uuid;
+    G_STATIC_ASSERT_EXPR(sizeof(*out_uuid) == sizeof(sd_id128_t));
+    if (sd_id128_get_machine((sd_id128_t *) out_uuid) < 0)
+        return NULL;
+    return out_uuid;
 }