summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2001-06-26 11:11:30 +0000
committerdwmalone <dwmalone@FreeBSD.org>2001-06-26 11:11:30 +0000
commit977c2968e44d25a3732347f152b306b45abc3d5f (patch)
tree95a4ee22d4c1226f7f57e6d353ed3293cdfd645a /bin/sh
parente2738b93f296eb684c1000bcfa387fcc4d9b011d (diff)
downloadFreeBSD-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.y2
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);
}
OpenPOWER on IntegriCloud