Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bc1f972
)
libsupport: remove debugging printf() from parse_qtype.c
author
Theodore Ts'o
<tytso@mit.edu>
Thu, 16 Feb 2017 16:19:51 +0000
(11:19 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 16 Feb 2017 16:19:51 +0000
(11:19 -0500)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/support/parse_qtype.c
patch
|
blob
|
history
diff --git
a/lib/support/parse_qtype.c
b/lib/support/parse_qtype.c
index
098639e
..
d8df07d
100644
(file)
--- 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;
}
ret = EINVAL;
goto errout;
}
+#ifdef DEBUG_PROGRAM
printf("word: %s\n", token);
printf("word: %s\n", token);
+#endif
next = strtok_r(NULL, PARSE_DELIM, &tmp);
}
*qtype_bits = qtype;
next = strtok_r(NULL, PARSE_DELIM, &tmp);
}
*qtype_bits = qtype;
@@
-72,7
+74,7
@@
errout:
return ret;
}
return ret;
}
-#if
0
+#if
def DEBUG_PROGRAM
int main(int argc, char **argv)
{
unsigned int qtype_bits = 0;
int main(int argc, char **argv)
{
unsigned int qtype_bits = 0;