Add line break after add_key() failure message.
PATCH 1/1 Add line break after add_key() failure message.
Signed-off-by Alexandre Oliva <[email protected]>
--- src/common/secret.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
src/common/secret.c +1 -1
@@ -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;
Signature · 7 lines
1.7.4.4 -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist Red Hat Brazil Compiler Engineer
Sage Weil
AppliedApplied, thanks!
Quoted 32 lines · Alexandre Oliva
Signed-off-by Alexandre Oliva <[email protected]>--- src/common/secret.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)src/common/secret.c +1
-1@@ -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;Signature · 11 lines
1.7.4.4 -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist Red Hat Brazil Compiler Engineer -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html