]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Documentation/accounting/getdelays.c: fix endless loop
authorMarcus Meissner <meissner@suse.de>
Thu, 15 Jan 2009 21:51:00 +0000 (13:51 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Jan 2009 00:39:37 +0000 (16:39 -0800)
commit65a67bd2644bef225ee318dde76016a4697218fa
tree4e3e40af9836c22b1c3c32a5a4667d7489b0acdc
parentb098161b4d0231f7dc5306111d576c0bfe0c8eba
Documentation/accounting/getdelays.c: fix endless loop

When no option is passed to getdelays it just hangs, waiting
for a reply which will never come.

This patch prints usage() when no output marker is specified.

Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/accounting/getdelays.c