aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-01-27 21:53:17 +0000
committerIan Lance Taylor <ian@airs.com>1994-01-27 21:53:17 +0000
commitfe9205735ea336f227ecc828c974f1aae9be2244 (patch)
tree8f95d87c3325cbc9709b089820103f7617657b2e /gas/as.c
parenta57180adeadd32d16be6944a3380046dcc3630f8 (diff)
downloadgdb-fe9205735ea336f227ecc828c974f1aae9be2244.zip
gdb-fe9205735ea336f227ecc828c974f1aae9be2244.tar.gz
gdb-fe9205735ea336f227ecc828c974f1aae9be2244.tar.bz2
* as.c (main): Print long values using %ld.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/as.c b/gas/as.c
index cf34a67..4e45f16 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -387,7 +387,7 @@ main (argc, argv)
char *lim = (char *) sbrk (0);
long run_time = get_run_time () - start_time;
- fprintf (stderr, "%s: total time in assembly: %d.%06d\n",
+ fprintf (stderr, "%s: total time in assembly: %ld.%06ld\n",
myname, run_time / 1000000, run_time % 1000000);
fprintf (stderr, "%s: data size %ld\n",
myname, (long) (lim - (char *) &environ));