summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2017-11-10 05:02:16 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2017-11-10 05:02:16 (GMT)
commitba1c15e2290246d272037404c46f44abd9d98c0e (patch) (side-by-side diff)
treec064bca4e28bc080bd7609806dd8315f207e1ebb
parent2f62d436b5157aa881d12ec8e7a7f0893c0d96de (diff)
downloadwydawca-ba1c15e2290246d272037404c46f44abd9d98c0e.tar.gz
wydawca-ba1c15e2290246d272037404c46f44abd9d98c0e.tar.bz2
Minor fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--modules/logstat/mod_logstat.c7
-rw-r--r--src/module.c2
2 files changed, 1 insertions, 8 deletions
diff --git a/modules/logstat/mod_logstat.c b/modules/logstat/mod_logstat.c
index 874b05f..9f34223 100644
--- a/modules/logstat/mod_logstat.c
+++ b/modules/logstat/mod_logstat.c
@@ -65,10 +65,3 @@ wy_help(void)
grecs_print_statement_array(top, 1, 1, stdout);
printf("}\n");
}
-
-wd()
-{
- volatile int _st=0;
- while (!_st)
- _st=_st;
-}
diff --git a/src/module.c b/src/module.c
index de00534..c52d9b7 100644
--- a/src/module.c
+++ b/src/module.c
@@ -287,7 +287,7 @@ module_help(const char *modname)
}
memset(&mod, 0, sizeof(mod));
- mod.path = modname;
+ mod.path = (char*) modname;
if (modload(&mod, advise))
exit(EX_UNAVAILABLE);

Return to:

Send suggestions and report system problems to the System administrator.