[5/7] spfs: improve prints in spfs_set_mode() and spfs_release_replace()

Submitted by Stanislav Kinsburskiy on Dec. 20, 2017, 4:07 p.m.

Details

Message ID 20171220160711.957380.52769.stgit@skinsbursky-vz7.qa.sw.ru
State New
Series "spfs: duplicate socket before sending it from usernsd"
Headers show

Commit Message

Stanislav Kinsburskiy Dec. 20, 2017, 4:07 p.m.
To make them more grepable.

Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>
---
 criu/spfs.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch hide | download patch | download mbox

diff --git a/criu/spfs.c b/criu/spfs.c
index d3391e2..da19179 100644
--- a/criu/spfs.c
+++ b/criu/spfs.c
@@ -381,9 +381,9 @@  int spfs_set_mode(int sock, const char *mode)
 
 	ret = spfs_send_request(sock, req, strlen(req) + 1);
 	if (ret)
-		pr_err("set mode to %s request failed: %d\n", mode, ret);
+		pr_err("set SPFS mode to %s request failed: %d\n", mode, ret);
 	else
-		pr_debug("Set mode to %s request succeeded\n", mode);
+		pr_debug("Set SPFS mode to %s request succeeded\n", mode);
 
 	free(req);
 	return 0;
@@ -396,9 +396,9 @@  int spfs_release_replace(int sock)
 
 	ret = spfs_send_request(sock, req, strlen(req) + 1);
 	if (ret)
-		pr_err("release replace request failed: %d\n", ret);
+		pr_err("SPFS release replace request failed: %d\n", ret);
 	else
-		pr_debug("Release replace request succeeded\n");
+		pr_debug("SPFS \"release replace\" request succeeded\n");
 
 	return 0;
 }