summaryrefslogtreecommitdiffstats
path: root/lib/getopt.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-02-25 16:56:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-27 19:53:42 +0100
commit2034ee47b1a0dfb3988cf159094d73c3ec623597 (patch)
tree6d1a2183e04654f3138f09cc1bd3318caef9491e /lib/getopt.c
parentb482dfd612bc98e76c85e89b8cd56b3f3d4eecc6 (diff)
downloadbarebox-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.c2
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] != '-') {