diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-27 09:51:21 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-27 09:51:26 +0100 |
commit | fda189dbf829d40a6f30f7877db1a094c2886045 (patch) | |
tree | 08010338d20a46f91c9101eed348d92590c05fdc | |
parent | ced41d800dfeb9c1d6ae7e2bc3aff3f9decd5cf0 (diff) | |
download | barebox-fda189dbf829d40a6f30f7877db1a094c2886045.tar.gz barebox-fda189dbf829d40a6f30f7877db1a094c2886045.tar.xz |
getopt: Add pr_fmt
To give the debug output more context.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | lib/getopt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/getopt.c b/lib/getopt.c index 847830c22b..55852ba133 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. * */ +#define pr_fmt(fmt) "getopt: " fmt #include <common.h> #include <module.h> |