From: Andrew Cooper Subject: [PATCH] common/grant: Add a newline into error message Date: Mon, 9 Jun 2014 18:40:10 +0100 Message-ID: <1402335610-12083-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: Andrew Cooper , Jan Beulich List-Id: xen-devel@lists.xenproject.org Avoid corrupting the next line on the console. Signed-off-by: Andrew Cooper CC: Jan Beulich --- xen/common/grant_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index c08e957..464007e 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -580,7 +580,7 @@ __gnttab_map_grant_ref( if ( rgt->gt_version == 0 ) PIN_FAIL(unlock_out, GNTST_general_error, - "remote grant table not yet set up"); + "remote grant table not yet set up\n"); /* Bounds check on the grant ref */ if ( unlikely(op->ref >= nr_grant_entries(rgt))) -- 1.7.10.4