summaryrefslogtreecommitdiffhomepage
path: root/test/util
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2020-04-03 11:37:16 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-03 11:38:37 -0700
commitea98693d915ebb55bb6b93797bc58d7675ffbe9d (patch)
treef19240ecf632ca4750ec73a6befbe042bc5d1de9 /test/util
parent1921c246a9907cd1623af4aabde086af9cf172d8 (diff)
Add missing newline
PiperOrigin-RevId: 304659346
Diffstat (limited to 'test/util')
-rw-r--r--test/util/capability_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/capability_util.cc b/test/util/capability_util.cc
index 9fee52fbb..a1b994c45 100644
--- a/test/util/capability_util.cc
+++ b/test/util/capability_util.cc
@@ -63,13 +63,13 @@ PosixErrorOr<bool> CanCreateUserNamespace() {
// is in a chroot environment (i.e., the caller's root directory does
// not match the root directory of the mount namespace in which it
// resides)."
- std::cerr << "clone(CLONE_NEWUSER) failed with EPERM";
+ std::cerr << "clone(CLONE_NEWUSER) failed with EPERM" << std::endl;
return false;
} else if (errno == EUSERS) {
// "(since Linux 3.11) CLONE_NEWUSER was specified in flags, and the call
// would cause the limit on the number of nested user namespaces to be
// exceeded. See user_namespaces(7)."
- std::cerr << "clone(CLONE_NEWUSER) failed with EUSERS";
+ std::cerr << "clone(CLONE_NEWUSER) failed with EUSERS" << std::endl;
return false;
} else {
// Unexpected error code; indicate an actual error.