]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] time: fix formatting in /proc/timer_list
authorJames Morris <jmorris@namei.org>
Fri, 23 Mar 2007 07:09:58 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 23 Mar 2007 18:01:21 +0000 (11:01 -0700)
Fix the print formatting of three unsigned long fields in /proc/timer_list,
which are currently being formatted as signed long.

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/time/timer_list.c

index f82c635c3d5ca87399b944bd69c89f2204f6a93e..59df5e8555a8a40d25321bb9569612e8a29f68b2 100644 (file)
@@ -194,9 +194,9 @@ print_tickdevice(struct seq_file *m, struct tick_device *td)
                return;
        }
        SEQ_printf(m, "%s\n", dev->name);
-       SEQ_printf(m, " max_delta_ns:   %ld\n", dev->max_delta_ns);
-       SEQ_printf(m, " min_delta_ns:   %ld\n", dev->min_delta_ns);
-       SEQ_printf(m, " mult:           %ld\n", dev->mult);
+       SEQ_printf(m, " max_delta_ns:   %lu\n", dev->max_delta_ns);
+       SEQ_printf(m, " min_delta_ns:   %lu\n", dev->min_delta_ns);
+       SEQ_printf(m, " mult:           %lu\n", dev->mult);
        SEQ_printf(m, " shift:          %d\n", dev->shift);
        SEQ_printf(m, " mode:           %d\n", dev->mode);
        SEQ_printf(m, " next_event:     %Ld nsecs\n",