Fixed print format errors.

This commit is contained in:
Bruce Evans 1998-06-30 18:03:05 +00:00
parent bcc58f6898
commit 65a87ccc7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37303

View File

@ -1248,7 +1248,7 @@ term_echotc(el, argc, argv)
}
#endif
else if (strcmp(*argv, "baud") == 0) {
(void) fprintf(el->el_outfile, "%ld\n", el->el_tty.t_speed);
(void) fprintf(el->el_outfile, "%lu\n", (u_long)el->el_tty.t_speed);
return 0;
}
else if (strcmp(*argv, "rows") == 0 || strcmp(*argv, "lines") == 0) {