From 976e5cfaa27512eb7b1cce3352f68e07e94b4840 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 9 Apr 2008 11:52:11 +0200 Subject: [PATCH] mount: remove set_proc_name() This function has been used in background mount code. Signed-off-by: Karel Zak --- mount/mount.c | 13 ------------- 1 file changed, 13 deletions(-) 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; -- 2.39.5