This function has been used in background mount code.
Signed-off-by: Karel Zak <kzak@redhat.com>
return res;
}
-/*
- * set_proc_name()
- * Update the argument vector, so that this process may be easily
- * identified in a "ps" listing.
- */
-static void
-set_proc_name (const char *spec)
-{
-#ifdef DO_PS_FIDDLING
- setproctitle ("mount", spec);
-#endif
-}
-
static char *
subst_string(const char *s, const char *sub, int sublen, const char *repl) {
char *n;