projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f1b8746
)
kdump(1): Fix amd64 warning.
author
Sascha Wildner <saw@online.de>
Tue, 28 Jul 2009 16:00:40 +0000 (18:00 +0200)
committer
Sascha Wildner <saw@online.de>
Tue, 28 Jul 2009 16:00:40 +0000 (18:00 +0200)
usr.bin/kdump/kdump.c
patch
|
blob
|
blame
|
history
diff --git
a/usr.bin/kdump/kdump.c
b/usr.bin/kdump/kdump.c
index
034870d
..
9ff65dc
100644
(file)
--- a/
usr.bin/kdump/kdump.c
+++ b/
usr.bin/kdump/kdump.c
@@
-691,7
+691,7
@@
ktrsysret(struct ktr_sysret *ktr)
if (error == 0) {
if (fancy) {
- (void)printf("%d", ret);
+ (void)printf("%ld", (long)ret);
if (ret < 0 || ret > 9)
(void)printf("/%#lx", (long)ret);
} else {