Source-Changes-HG archive

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

[src/trunk]: src/lib/librmt add a missing " to a string literal in some #if'd...



details:   https://anonhg.NetBSD.org/src/rev/0712a29677eb
branches:  trunk
changeset: 766382:0712a29677eb
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 21 09:35:23 2011 +0000

description:
add a missing " to a string literal in some #if'd out code that GCC 4.5 found.

diffstat:

 lib/librmt/rmtlib.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b3a615717eec -r 0712a29677eb lib/librmt/rmtlib.c
--- a/lib/librmt/rmtlib.c       Tue Jun 21 09:34:54 2011 +0000
+++ b/lib/librmt/rmtlib.c       Tue Jun 21 09:35:23 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rmtlib.c,v 1.24 2011/05/31 12:24:33 christos Exp $     */
+/*     $NetBSD: rmtlib.c,v 1.25 2011/06/21 09:35:23 mrg Exp $  */
 
 /*
  *     rmt --- remote tape emulator subroutines
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: rmtlib.c,v 1.24 2011/05/31 12:24:33 christos Exp $");
+__RCSID("$NetBSD: rmtlib.c,v 1.25 2011/06/21 09:35:23 mrg Exp $");
 
 #define RMTIOCTL       1
 /* #define USE_REXEC   1 */    /* rexec code courtesy of Dan Kegel, srs!dan */
@@ -224,7 +224,7 @@
 
        rexecserv = getservbyname("exec", "tcp");
        if (rexecserv == NULL)
-               errx(1, exec/tcp: service not available.");
+               errx(1, "exec/tcp: service not available.");
        if ((user != NULL) && *user == '\0')
                user = NULL;
        return rexec(&host, rexecserv->s_port, user, NULL,



Home | Main Index | Thread Index | Old Index