summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2004-09-20 07:46:50 +0000
committerjkar8572 <jkar8572>2004-09-20 07:46:50 +0000
commit9b758390c5bc7a7971c311ef6a5d8ca71044e91e (patch)
treee58e37cea678eec3d0fc5a564275119475c6f95a
parentbe142a04b529928c35be2be64fb5436a5ec01d17 (diff)
Fixed parsing of journalled quota options. (Jan Kara)
-rw-r--r--quotacheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quotacheck.c b/quotacheck.c
index 6161fd0..0e691b5 100644
--- a/quotacheck.c
+++ b/quotacheck.c
@@ -8,7 +8,7 @@
* New quota format implementation - Jan Kara <jack@suse.cz> - Sponsored by SuSE CR
*/
-#ident "$Id: quotacheck.c,v 1.41 2004/09/06 14:35:10 jkar8572 Exp $"
+#ident "$Id: quotacheck.c,v 1.42 2004/09/20 07:46:50 jkar8572 Exp $"
#include <dirent.h>
#include <stdio.h>
@@ -933,7 +933,7 @@ jquota_err:
option += strlen(MNTOPT_JQFMT);
if (*option != '=')
goto jquota_err;
- space = strchr(option, ' ');
+ space = strchr(option, ',');
if (!space)
space = option + strlen(option);
if (space-option > sizeof(fmtbuf))