diff options
author | bde <bde@FreeBSD.org> | 1998-06-30 18:03:05 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-30 18:03:05 +0000 |
commit | 8925ea450ff1e6f1ff45435a7dd6fc4e3b1128ca (patch) | |
tree | 50a3b3753e48d3e3732f56d25a30caa775e62de8 /lib/libedit | |
parent | af9053c52e07d5373748591f9a1c16cd328153d1 (diff) | |
download | FreeBSD-src-8925ea450ff1e6f1ff45435a7dd6fc4e3b1128ca.zip FreeBSD-src-8925ea450ff1e6f1ff45435a7dd6fc4e3b1128ca.tar.gz |
Fixed print format errors.
Diffstat (limited to 'lib/libedit')
-rw-r--r-- | lib/libedit/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c index 8de3027..442583b 100644 --- a/lib/libedit/term.c +++ b/lib/libedit/term.c @@ -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) { |