chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build-sys: add Mandriva distribution support
[elogind.git]
/
src
/
quotacheck.c
diff --git
a/src/quotacheck.c
b/src/quotacheck.c
index 5d61146d9325e607a8d193b58c3b618f26af2138..5ced93318e8f7fde69c3d00dc340366e199f89d0 100644
(file)
--- a/
src/quotacheck.c
+++ b/
src/quotacheck.c
@@
-50,7
+50,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
def TARGET_FEDORA
+#if
defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA)
else if (strneq(w, "forcequotacheck", l))
arg_force = true;
#endif
else if (strneq(w, "forcequotacheck", l))
arg_force = true;
#endif
@@
-61,8
+61,8
@@
static int parse_proc_cmdline(void) {
}
static void test_files(void) {
}
static void test_files(void) {
-#if
def TARGET_FEDORA
- /* This exists only on Fedora */
+#if
defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA)
+ /* This exists only on Fedora
or Mandriva
*/
if (access("/forcequotacheck", F_OK) >= 0)
arg_force = true;
#endif
if (access("/forcequotacheck", F_OK) >= 0)
arg_force = true;
#endif