module-init-tools: depmod: --symbol-prefix actually requires an argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From 67208bc3d1a2c6feb25a216ad02b8a3f076d3692 Mon Sep 17 00:00:00 2001
From: Andrey Mazo <mazo@xxxxxxxx>
Date: Tue, 11 Dec 2012 21:08:51 +0400
Subject: [PATCH] depmod: --symbol-prefix actually requires an argument

-P requires and uses an argument but its long counterpart --symbol-prefix does not:
depmod: option '--symbol-prefix' doesn't allow an argument
depmod 3.16 -- part of module-init-tools
---
 depmod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/depmod.c b/depmod.c
index 90c24e4..e95d381 100644
--- a/depmod.c
+++ b/depmod.c
@@ -308,7 +308,7 @@ static const struct option options[] = { { "all", 0, NULL, 'a' },
 				   { "verbose", 0, NULL, 'v' },
 				   { "show", 0, NULL, 'n' },
 				   { "dry-run", 0, NULL, 'n' },
-				   { "symbol-prefix", 0, NULL, 'P' },
+				   { "symbol-prefix", 1, NULL, 'P' },
 				   { "help", 0, NULL, 'h' },
 				   { "version", 0, NULL, 'V' },
 				   { "warn", 0, NULL, 'w' },
--
1.7.8.6

--
Andrey Mazo.
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux