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

Submitted by Stanislav Kinsburskiy on Dec. 21, 2017, 11:07 a.m.

Details

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

Commit Message

Stanislav Kinsburskiy Dec. 21, 2017, 11:07 a.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 89fb9f9..7ce30e7 100644
--- a/criu/spfs.c
+++ b/criu/spfs.c
@@ -379,9 +379,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;
@@ -394,9 +394,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;
 }