Small patch for modinfo.c in modutils-2.1.121

Alex Buell (alex.buell@tahallah.demon.co.uk)
Sat, 3 Oct 1998 10:07:15 -0400 (EDT)


--- modinfo.c.orig Sat Oct 3 10:00:48 1998
+++ modinfo.c Sat Oct 3 10:00:24 1998
@@ -457,7 +457,7 @@
error_file = "modinfo";

while (optind < argc)
- show_module_info(argv[optind], fmtstr, do_parameters);
+ show_module_info(argv[optind++], fmtstr, do_parameters);

return 0;
}

This fixes a silly little problem where it goes into a loop printing the
parameters of the module and never exits!

Cheers,
Alex

--
 /\_/\  Legalise cannabis now! 
( o.o ) Grow some cannabis today!
 > ^ <  Peace, Love, Unity and Respect to all.

http://www.tahallah.demon.co.uk - *new* - rewritten for text browser users!

Linux tahallah 2.1.123 #44 Mon Sep 28 19:02:54 EDT 1998 One AMD 486 DX/4 processor, 49.77 total bogomips, 32M RAM System library 2.0.96

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/