From: Theodore Ts'o Date: Thu, 16 Feb 2017 16:19:51 +0000 (-0500) Subject: libsupport: remove debugging printf() from parse_qtype.c X-Git-Tag: v1.43.5~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04fa82b7a7344dd79a053346d29f50e0881a2042;p=thirdparty%2Fe2fsprogs.git libsupport: remove debugging printf() from parse_qtype.c Signed-off-by: Theodore Ts'o --- diff --git a/lib/support/parse_qtype.c b/lib/support/parse_qtype.c index 098639e18..d8df07d39 100644 --- a/lib/support/parse_qtype.c +++ b/lib/support/parse_qtype.c @@ -63,7 +63,9 @@ int parse_quota_types(const char *in_str, unsigned int *qtype_bits, ret = EINVAL; goto errout; } +#ifdef DEBUG_PROGRAM printf("word: %s\n", token); +#endif next = strtok_r(NULL, PARSE_DELIM, &tmp); } *qtype_bits = qtype; @@ -72,7 +74,7 @@ errout: return ret; } -#if 0 +#ifdef DEBUG_PROGRAM int main(int argc, char **argv) { unsigned int qtype_bits = 0;