diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-06-26 11:11:30 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-06-26 11:11:30 +0000 |
commit | 977c2968e44d25a3732347f152b306b45abc3d5f (patch) | |
tree | 95a4ee22d4c1226f7f57e6d353ed3293cdfd645a /bin/sh | |
parent | e2738b93f296eb684c1000bcfa387fcc4d9b011d (diff) | |
download | FreeBSD-src-977c2968e44d25a3732347f152b306b45abc3d5f.zip FreeBSD-src-977c2968e44d25a3732347f152b306b45abc3d5f.tar.gz |
Use the correct printf format to print a long.
Approved by: cracauer
Diffstat (limited to 'bin/sh')
-rw-r--r-- | bin/sh/arith.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/arith.y b/bin/sh/arith.y index 6d5bf95..ef00adc 100644 --- a/bin/sh/arith.y +++ b/bin/sh/arith.y @@ -173,7 +173,7 @@ expcmd(argc, argv) i = arith(p); - out1fmt("%d\n", i); + out1fmt("%ld\n", i); return (! i); } |