From patchwork Thu Jul 21 08:28:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Oliva X-Patchwork-Id: 994022 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6L8SdTt019904 for ; Thu, 21 Jul 2011 08:28:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752162Ab1GUI2e (ORCPT ); Thu, 21 Jul 2011 04:28:34 -0400 Received: from lsd-gw.ic.unicamp.br ([143.106.7.165]:60314 "EHLO boneca.lsd.ic.unicamp.br" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751690Ab1GUI2d (ORCPT ); Thu, 21 Jul 2011 04:28:33 -0400 Received: from freie.oliva.athome.lsd.ic.unicamp.br (gw-to-emilia.oliva.athome.lsd.ic.unicamp.br [172.31.160.17] (may be forged)) by boneca.lsd.ic.unicamp.br (8.14.4/8.14.4) with ESMTP id p6L8SUtC021952 for ; Thu, 21 Jul 2011 05:28:31 -0300 Received: from livre.localdomain (livre-to-gw.oliva.athome.lsd.ic.unicamp.br [172.31.160.19]) by freie.oliva.athome.lsd.ic.unicamp.br (8.14.4/8.14.4) with ESMTP id p6L8SSQv005344 for ; Thu, 21 Jul 2011 05:28:28 -0300 Received: from livre.localdomain (aoliva@localhost.localdomain [127.0.0.1]) by livre.localdomain (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6L8SReT000999; Thu, 21 Jul 2011 05:28:27 -0300 Received: (from aoliva@localhost) by livre.localdomain (8.14.3/8.14.3/Submit) id p6L8SQuZ000997; Thu, 21 Jul 2011 05:28:26 -0300 X-Authentication-Warning: livre.localdomain: aoliva set sender to oliva@lsd.ic.unicamp.br using -f From: Alexandre Oliva To: ceph-devel@vger.kernel.org Subject: [PATCH] Add line break after add_key() failure message. Organization: Free thinker, not speaking for University of Campinas Date: Thu, 21 Jul 2011 05:28:26 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 21 Jul 2011 08:28:39 +0000 (UTC) Signed-off-by: Alexandre Oliva --- src/common/secret.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/common/secret.c b/src/common/secret.c index f90f478..158343e 100644 --- a/src/common/secret.c +++ b/src/common/secret.c @@ -66,7 +66,7 @@ static int add_secret_to_kernel(const char *secret, const char *key_name) serial = add_key("ceph", key_name, payload, sizeof(payload), KEY_SPEC_USER_KEYRING); if (serial < 0) { ret = -errno; - fprintf(stderr, "error adding secret to kernel, key name %s: %s", key_name, strerror(-ret)); + fprintf(stderr, "error adding secret to kernel, key name %s: %s.\n", key_name, strerror(-ret)); } return ret;