9
0
Fork 0

getopt: turn commented out printf into debug()

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2012-02-25 16:56:43 +01:00
parent b482dfd612
commit 2034ee47b1
1 changed files with 1 additions and 1 deletions

View File

@ -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] != '-') {