From: Karel Zak Date: Wed, 9 Apr 2008 09:52:11 +0000 (+0200) Subject: mount: remove set_proc_name() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=976e5cfaa27512eb7b1cce3352f68e07e94b4840;p=util-linux mount: remove set_proc_name() This function has been used in background mount code. Signed-off-by: Karel Zak --- diff --git a/mount/mount.c b/mount/mount.c index c4d21ca8..fcc5531b 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -1377,19 +1377,6 @@ try_mount_one (const char *spec0, const char *node0, const char *types0, 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;