[03/14] prepare_pstree_ids(): improve an error message

Submitted by Kir Kolyshkin on March 21, 2017, 10 p.m.

Details

Message ID 20170321220101.21228-4-kir@openvz.org
State New
Series "Spring '07 cleaning"
Headers show

Commit Message

Kir Kolyshkin March 21, 2017, 10 p.m.
I guess this is a followup to commit 59e80d4.

1 s/determinate/figure out/ (there is no "determinate" verb in English)

2 moved 'with' to the end

Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
---
 criu/pstree.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/criu/pstree.c b/criu/pstree.c
index f86b75a..5113544 100644
--- a/criu/pstree.c
+++ b/criu/pstree.c
@@ -743,8 +743,8 @@  static int prepare_pstree_ids(void)
 			parent = item->parent;
 			while (parent && vpid(parent) != item->sid) {
 				if (parent->born_sid != -1 && parent->born_sid != item->sid) {
-					pr_err("Can't determinate with which sid (%d or %d)"
-						"the process %d was born\n",
+					pr_err("Can't figure out which sid (%d or %d)"
+						"the process %d was born with\n",
 						parent->born_sid, item->sid, vpid(parent));
 					return -1;
 				}