]> git.proxmox.com Git - mirror_lxcfs.git/commitdiff
proc_fuse: extra space in /proc/stat
authorTuomas Yrjölä <mail@yrhki.fi>
Thu, 12 May 2022 22:24:47 +0000 (01:24 +0300)
committerTuomas Yrjölä <mail@yrhki.fi>
Thu, 12 May 2022 22:24:47 +0000 (01:24 +0300)
Signed-off-by: Tuomas Yrjölä <mail@yrhki.fi>
src/proc_fuse.c

index 5416d4378bffdf0c1b964fbf5e96af3301c8161c..29fbed53b3356412ab2daab5dbc6b703416c1ed8 100644 (file)
@@ -1091,7 +1091,7 @@ static int proc_stat_read(char *buf, size_t size, off_t offset,
        int cpuall_len = snprintf(
                        cpuall,
                        CPUALL_MAX_SIZE,
-                       "cpu  "
+                       "cpu "
                        " %" PRIu64 /* user_sum */
                        " %" PRIu64 /* nice_sum */
                        " %" PRIu64 /* system_sum */