diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-25 16:56:43 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-27 19:53:42 +0100 |
commit | 2034ee47b1a0dfb3988cf159094d73c3ec623597 (patch) | |
tree | 6d1a2183e04654f3138f09cc1bd3318caef9491e /lib/getopt.c | |
parent | b482dfd612bc98e76c85e89b8cd56b3f3d4eecc6 (diff) | |
download | barebox-2034ee47b1a0dfb3988cf159094d73c3ec623597.tar.gz barebox-2034ee47b1a0dfb3988cf159094d73c3ec623597.tar.xz |
getopt: turn commented out printf into debug()
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/getopt.c')
-rw-r--r-- | lib/getopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getopt.c b/lib/getopt.c index 64d6ac1e15..5c35ee17d9 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -47,7 +47,7 @@ int getopt(int argc, char *argv[], char *optstring) char *curoptp; /* pointer to the current option in optstring */ while(1) { -// printf("optindex: %d nonopts: %d optind: %d\n", optindex, nonopts, optind); + debug("optindex: %d nonopts: %d optind: %d\n", optindex, nonopts, optind); /* first put nonopts to the end */ while (optind + nonopts < argc && *argv[optind] != '-') { |