chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Mageia support
[elogind.git]
/
src
/
quotacheck.c
diff --git
a/src/quotacheck.c
b/src/quotacheck.c
index 98b59a090a99ef33079d27884821171c106cb954..60033a8eb256275c2df03b51b1cf4a5ad31cfde5 100644
(file)
--- a/
src/quotacheck.c
+++ b/
src/quotacheck.c
@@
-54,7
+54,7
@@
static int parse_proc_cmdline(void) {
arg_skip = true;
else if (startswith(w, "quotacheck.mode"))
log_warning("Invalid quotacheck.mode= parameter. Ignoring.");
arg_skip = true;
else if (startswith(w, "quotacheck.mode"))
log_warning("Invalid quotacheck.mode= parameter. Ignoring.");
-#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA)
+#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA)
|| defined(TARGET_MAGEIA)
else if (strneq(w, "forcequotacheck", l))
arg_force = true;
#endif
else if (strneq(w, "forcequotacheck", l))
arg_force = true;
#endif
@@
-65,8
+65,8
@@
static int parse_proc_cmdline(void) {
}
static void test_files(void) {
}
static void test_files(void) {
-#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA)
- /* This exists only on Fedora
or Mandriv
a */
+#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA)
|| defined(TARGET_MAGEIA)
+ /* This exists only on Fedora
, Mandriva or Magei
a */
if (access("/forcequotacheck", F_OK) >= 0)
arg_force = true;
#endif
if (access("/forcequotacheck", F_OK) >= 0)
arg_force = true;
#endif