From 04fa82b7a7344dd79a053346d29f50e0881a2042 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 16 Feb 2017 11:19:51 -0500 Subject: [PATCH] libsupport: remove debugging printf() from parse_qtype.c Signed-off-by: Theodore Ts'o --- lib/support/parse_qtype.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/support/parse_qtype.c b/lib/support/parse_qtype.c index 098639e..d8df07d 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; -- 1.8.3.1