summaryrefslogtreecommitdiffstats
path: root/bin/stty/gfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stty/gfmt.c')
-rw-r--r--bin/stty/gfmt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/stty/gfmt.c b/bin/stty/gfmt.c
index b0bf79a..880c122 100644
--- a/bin/stty/gfmt.c
+++ b/bin/stty/gfmt.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: gfmt.c,v 1.2 1994/09/24 02:58:57 davidg Exp $
*/
#ifndef lint
@@ -64,11 +64,11 @@ gprint(tp, wp, ldisc)
{
struct cchar *cp;
- (void)printf("gfmt1:cflag=%x:iflag=%x:lflag=%x:oflag=%x:",
+ (void)printf("gfmt1:cflag=%lx:iflag=%lx:lflag=%lx:oflag=%lx:",
tp->c_cflag, tp->c_iflag, tp->c_lflag, tp->c_oflag);
for (cp = cchars1; cp->name; ++cp)
(void)printf("%s=%x:", cp->name, tp->c_cc[cp->sub]);
- (void)printf("ispeed=%d:ospeed=%d\n", cfgetispeed(tp), cfgetospeed(tp));
+ (void)printf("ispeed=%ld:ospeed=%ld\n", cfgetispeed(tp), cfgetospeed(tp));
}
void
OpenPOWER on IntegriCloud