]> git.proxmox.com Git - mirror_lxcfs.git/commit - src/proc_fuse.c
Fix #387. Include `:` in matching of lines in /proc/meminfo
authorDmitry Petrashko <dark@d-d.me>
Thu, 9 Apr 2020 01:27:06 +0000 (18:27 -0700)
committerDmitry Petrashko <dark@d-d.me>
Thu, 9 Apr 2020 02:55:22 +0000 (19:55 -0700)
commit659b02783f86b9b96ee3a7d5fc22d674576adde0
treeb4a083d42d3852d922ccab7cad39b36b50ce5b64
parent584fdce8efeba3ed9416ce706d5a938b58f66103
Fix #387. Include `:` in matching of lines in /proc/meminfo

Some lines of /proc/meminfo can be prefixes of the other,
e.g. `Writeback:` and `WritebackTmp:`

This means that in order to to precise match, the code should always match up until `:`

Signed-off-by: Dmitry Petrashko <dark@d-d.me>
src/proc_fuse.c