aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ldd/sods.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-10-29 00:32:58 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-10-29 00:32:58 +0000
commit54109b3e31b3166a84b9a2d2f2b7a264e1d54131 (patch)
tree8a3cfab7529d900ef2a2c5fc031c8c5d1ffc723f /usr.bin/ldd/sods.c
parente9c044bd9eb754960197b3beb1b09aad1d3d59ba (diff)
downloadsrc-54109b3e31b3166a84b9a2d2f2b7a264e1d54131.tar.gz
src-54109b3e31b3166a84b9a2d2f2b7a264e1d54131.zip
Fix long format mismatch with int arg
Notes
Notes: svn path=/head/; revision=85647
Diffstat (limited to 'usr.bin/ldd/sods.c')
-rw-r--r--usr.bin/ldd/sods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ldd/sods.c b/usr.bin/ldd/sods.c
index 9b150ec5a9ff..8b9716db190a 100644
--- a/usr.bin/ldd/sods.c
+++ b/usr.bin/ldd/sods.c
@@ -194,7 +194,7 @@ dump_file(const char *fname)
printf("%s: a_midmag = 0x%lx\n", fname, ex->a_midmag);
printf(" magic = 0x%lx = 0%lo, netmagic = 0x%lx = 0%lo\n",
N_GETMAGIC(*ex), N_GETMAGIC(*ex),
- N_GETMAGIC_NET(*ex), N_GETMAGIC_NET(*ex));
+ (long)N_GETMAGIC_NET(*ex), (long)N_GETMAGIC_NET(*ex));
if (N_BADMAG(*ex)) {
warnx("%s: bad magic number", fname);