mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] getopt: turn commented out printf into debug()
@ 2012-02-27  8:38 Sascha Hauer
  0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2012-02-27  8:38 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 lib/getopt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/getopt.c b/lib/getopt.c
index 64d6ac1..5c35ee1 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] != '-') {
-- 
1.7.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-27  8:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-27  8:38 [PATCH 1/2] getopt: turn commented out printf into debug() Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox