From 977c2968e44d25a3732347f152b306b45abc3d5f Mon Sep 17 00:00:00 2001 From: dwmalone Date: Tue, 26 Jun 2001 11:11:30 +0000 Subject: Use the correct printf format to print a long. Approved by: cracauer --- bin/sh/arith.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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); } -- cgit v1.1