diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-06-30 19:00:13 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-30 19:01:55 -0700 |
commit | c4bdd0118f5dc9090979697e31a18731968b4066 (patch) | |
tree | b8624b4178db1830a1c7bac41a5e45c12eb80809 /pkg/sentry/fsimpl/sys/sys.go | |
parent | 44071cc7fae8a7143b0cd386b402375aafecd979 (diff) |
Add missing newline in /sys/devices/systen/cpu/onine
PiperOrigin-RevId: 319143410
Diffstat (limited to 'pkg/sentry/fsimpl/sys/sys.go')
-rw-r--r-- | pkg/sentry/fsimpl/sys/sys.go | 2 |
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 } |