]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/uid-range.c
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / shared / uid-range.c
index eb251492c3719dc91aa2e6b707e53d6dbb9a8bf7..c38b7cc984a6d12cda912b930014da8994ae2c40 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
   This file is part of systemd.
 
@@ -54,7 +55,7 @@ static void uid_range_coalesce(UidRange **p, unsigned *n) {
                                 if (*n > j+1)
                                         memmove(y, y+1, sizeof(UidRange) * (*n - j -1));
 
-                                (*n) --;
+                                (*n)--;
                                 j--;
                         }
                 }