diff options
Diffstat (limited to 'bin/stty')
-rw-r--r-- | bin/stty/gfmt.c | 6 | ||||
-rw-r--r-- | bin/stty/key.c | 4 |
2 files changed, 5 insertions, 5 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 diff --git a/bin/stty/key.c b/bin/stty/key.c index 4b388d2..bc7cf56 100644 --- a/bin/stty/key.c +++ b/bin/stty/key.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: key.c,v 1.2 1994/09/24 02:58:58 davidg Exp $ */ #ifndef lint @@ -286,7 +286,7 @@ f_speed(ip) struct info *ip; { - (void)printf("%d\n", cfgetospeed(&ip->t)); + (void)printf("%ld\n", cfgetospeed(&ip->t)); } void |