]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgfsng: recursive_count_nrtasks()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 17 Feb 2018 18:39:33 +0000 (19:39 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 21 Feb 2018 14:48:42 +0000 (15:48 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index 79952ffffd8e605784fa8593a80c8996366cc4cb..950d0b46ed9d366e668c16098d53913ff1d84d01 100644 (file)
@@ -2266,7 +2266,7 @@ static int recursive_count_nrtasks(char *dirname)
                        goto next;
 
                count += recursive_count_nrtasks(path);
-next:
+       next:
                free(path);
        }
 
@@ -2276,7 +2276,7 @@ next:
                count += ret;
        free(path);
 
-       (void) closedir(dir);
+       (void)closedir(dir);
 
        return count;
 }