summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-01 02:04:30 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-01 02:04:30 +0000
commit53738875c7dd553fcace26ceea60bd734dfdb407 (patch)
treea22ab8556bcdfbe73c7bb0c048f591ec7428b04c /pkg/sentry/fsimpl
parent5c4342c7a0aaed8223ac6da404f13d6c8736e6bf (diff)
parentc4bdd0118f5dc9090979697e31a18731968b4066 (diff)
Merge release-20200622.1-44-gc4bdd0118 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl')
-rw-r--r--pkg/sentry/fsimpl/sys/sys.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/sys/sys.go b/pkg/sentry/fsimpl/sys/sys.go
index fe02f7ee9..01ce30a4d 100644
--- a/pkg/sentry/fsimpl/sys/sys.go
+++ b/pkg/sentry/fsimpl/sys/sys.go
@@ -138,7 +138,7 @@ type cpuFile struct {
// Generate implements vfs.DynamicBytesSource.Generate.
func (c *cpuFile) Generate(ctx context.Context, buf *bytes.Buffer) error {
- fmt.Fprintf(buf, "0-%d", c.maxCores-1)
+ fmt.Fprintf(buf, "0-%d\n", c.maxCores-1)
return nil
}