Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/btattach a couple more stray \n



details:   https://anonhg.NetBSD.org/src/rev/dc63ad3b4abe
branches:  trunk
changeset: 338918:dc63ad3b4abe
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jun 16 23:54:58 2015 +0000

description:
a couple more stray \n

diffstat:

 usr.sbin/btattach/init_unistone.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ef539a074e28 -r dc63ad3b4abe usr.sbin/btattach/init_unistone.c
--- a/usr.sbin/btattach/init_unistone.c Tue Jun 16 23:48:20 2015 +0000
+++ b/usr.sbin/btattach/init_unistone.c Tue Jun 16 23:54:58 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init_unistone.c,v 1.2 2015/06/16 23:04:14 christos Exp $       */
+/*     $NetBSD: init_unistone.c,v 1.3 2015/06/16 23:54:58 christos Exp $       */
 /*
  * Copyright (c) 2009 KIYOHARA Takashi
  * All rights reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: init_unistone.c,v 1.2 2015/06/16 23:04:14 christos Exp $");
+__RCSID("$NetBSD: init_unistone.c,v 1.3 2015/06/16 23:54:58 christos Exp $");
 
 #include <bluetooth.h>
 #include <err.h>
@@ -106,7 +106,7 @@
        if (n != sizeof(cs) ||
            cs.status != 0x00 ||
            cs.opcode != HCI_CMD_INFINEON_SET_UART_BAUDRATE)
-               errx(EXIT_FAILURE, "Set_UART_Baudrate failed\n");
+               errx(EXIT_FAILURE, "Set_UART_Baudrate failed");
 
        if (cfsetspeed(&tio, speed) != 0 ||
            tcsetattr(fd, TCSANOW, &tio) != 0)
@@ -116,7 +116,7 @@
        if (n != sizeof(v) ||
            v[0] != 0x12 ||
            v[1] != 0x00)
-               errx(EXIT_FAILURE, "Set_UART_Baudrate not complete\n");
+               errx(EXIT_FAILURE, "Set_UART_Baudrate not complete");
 
        infineon_manufacturer_mode(fd, 0);
 }



Home | Main Index | Thread Index | Old Index