diff uip/mshcmds.c @ 12:441a2190cfae

Lion fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 21 Apr 2012 13:10:49 +0900
parents a6481689f99c
children 07f8972434be
line wrap: on
line diff
--- a/uip/mshcmds.c	Fri Nov 07 20:20:35 2008 +0000
+++ b/uip/mshcmds.c	Sat Apr 21 13:10:49 2012 +0900
@@ -1,6 +1,6 @@
 /* mshcmds.c - command handlers in msh */
 #ifndef	lint
-static char ident[] = "@(#)$Id$";
+static char ident[] = "@(#)$Id: mshcmds.c,v 1.2 2006/12/05 18:18:13 kono Exp $";
 #endif	/* lint */
 
 #include "../h/mh.h"
@@ -12,6 +12,7 @@
 #define getws _getws
 #endif
 #include <stdio.h>
+#include <unistd.h>
 #ifdef	_AIX
 #undef getws
 #endif
@@ -1527,7 +1528,7 @@
 	else
 	    for (seqp = 0; seqs[seqp]; seqp++)
 		printf ("%s%s: %s\n", seqs[seqp],
-			empty(m_seq (mp, seqs[seqp])));
+			empty(m_seq (mp, seqs[seqp])),"");
 #undef	empty
 
 	interrupted = 0;