diff -purN module-init-tools-3.1/depmod.c module-init-tools-3.1-ajs/depmod.c --- module-init-tools-3.1/depmod.c Thu Jul 1 06:24:40 2004 +++ module-init-tools-3.1-ajs/depmod.c Thu Apr 28 09:29:56 2005 @@ -831,7 +831,7 @@ int main(int argc, char *argv[]) if (!all) { /* Do command line args. */ - for (opt = optind + 1; opt < argc; opt++) { + for (opt = optind ; opt < argc; opt++) { struct module *new = grab_module("", argv[opt]); if (new) { new->next = list;