ChangeSet 1.1867.3.2, 2004/09/14 11:12:09-07:00, akpm@osdl.org [PATCH] kobject_uevent warning fix lib/kobject_uevent.c: In function `kobject_hotplug': lib/kobject_uevent.c:225: warning: long long int format, u64 arg (arg 3) Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman lib/kobject_uevent.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/lib/kobject_uevent.c b/lib/kobject_uevent.c --- a/lib/kobject_uevent.c 2004-10-19 09:22:55 -07:00 +++ b/lib/kobject_uevent.c 2004-10-19 09:22:55 -07:00 @@ -222,7 +222,7 @@ spin_unlock(&sequence_lock); envp [i++] = scratch; - scratch += sprintf(scratch, "SEQNUM=%lld", seq) + 1; + scratch += sprintf(scratch, "SEQNUM=%lld", (long long)seq) + 1; envp [i++] = scratch; scratch += sprintf(scratch, "SUBSYSTEM=%s", name) + 1;