Patch for modutils.c

Alex Buell (alex.buell@tahallah.demon.co.uk)
Mon, 26 Oct 1998 08:57:45 -0500 (EST)


Here's a short little patch for modutils-2.1.121 that I posted a while
ago, just thought I'd post it again in case someone missed it.

Date: Sat, 3 Oct 1998 10:07:15 -0400 (EDT)
From: Alex Buell <alex.buell@tahallah.demon.co.uk>
To: Linux Kernel <linux-kernel@vger.rutgers.edu>
Subject: Small patch for modinfo.c in modutils-2.1.121

--- 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.126 #59 SMP Sat Oct 24 11:46:13 EDT 1998 Two Intel Pentium Pro processors, 331.78 total bogomips, 48M RAM System library 2.0.99

- 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/