linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: rfkill: add missing line break
@ 2008-08-18 19:56 Felipe Balbi
  2008-08-18 21:11 ` Ivo van Doorn
  0 siblings, 1 reply; 2+ messages in thread
From: Felipe Balbi @ 2008-08-18 19:56 UTC (permalink / raw)
  To: linux-wireless; +Cc: Ivo van Doorn, Felipe Balbi

From: Felipe Balbi <felipe.balbi@nokia.com>

Trivial patch adding a missing line break on
rfkill_claim_show().

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
---
 net/rfkill/rfkill.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c
index d2d4565..3bc78b0 100644
--- a/net/rfkill/rfkill.c
+++ b/net/rfkill/rfkill.c
@@ -372,7 +372,7 @@ static ssize_t rfkill_claim_show(struct device *dev,
 {
 	struct rfkill *rfkill = to_rfkill(dev);
 
-	return sprintf(buf, "%d", rfkill->user_claim);
+	return sprintf(buf, "%d\n", rfkill->user_claim);
 }
 
 static ssize_t rfkill_claim_store(struct device *dev,
-- 
1.6.0.rc3.10.g5a13c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: rfkill: add missing line break
  2008-08-18 19:56 [PATCH] net: rfkill: add missing line break Felipe Balbi
@ 2008-08-18 21:11 ` Ivo van Doorn
  0 siblings, 0 replies; 2+ messages in thread
From: Ivo van Doorn @ 2008-08-18 21:11 UTC (permalink / raw)
  To: Felipe Balbi, John Linville; +Cc: linux-wireless, Felipe Balbi

On Monday 18 August 2008, Felipe Balbi wrote:
> From: Felipe Balbi <felipe.balbi@nokia.com>
> 
> Trivial patch adding a missing line break on
> rfkill_claim_show().
> 
> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>

Thanks.

Acked-by: Ivo van Doorn <IvDoorn@gmail.co>

> ---
>  net/rfkill/rfkill.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c
> index d2d4565..3bc78b0 100644
> --- a/net/rfkill/rfkill.c
> +++ b/net/rfkill/rfkill.c
> @@ -372,7 +372,7 @@ static ssize_t rfkill_claim_show(struct device *dev,
>  {
>  	struct rfkill *rfkill = to_rfkill(dev);
>  
> -	return sprintf(buf, "%d", rfkill->user_claim);
> +	return sprintf(buf, "%d\n", rfkill->user_claim);
>  }
>  
>  static ssize_t rfkill_claim_store(struct device *dev,



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-18 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-18 19:56 [PATCH] net: rfkill: add missing line break Felipe Balbi
2008-08-18 21:11 ` Ivo van Doorn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).