From a7329667b4c19fbe8ba077062f14a96038c094db Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 5 Dec 2009 04:25:19 +0100 Subject: mount: prevent second mount -a from mounting everything again Signed-off-by: Denys Vlasenko --- coreutils/df.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'coreutils') diff --git a/coreutils/df.c b/coreutils/df.c index 11a7398..83794ad 100644 --- a/coreutils/df.c +++ b/coreutils/df.c @@ -167,10 +167,9 @@ int df_main(int argc UNUSED_PARAM, char **argv) continue; #ifdef WHY_WE_DO_IT_FOR_DEV_ROOT_ONLY -/* ... and also this is the only user of find_block_device */ if (strcmp(device, "/dev/root") == 0) { /* Adjusts device to be the real root device, - * or leaves device alone if it can't find it */ + * or leaves device alone if it can't find it */ device = find_block_device("/"); if (!device) { goto set_error; -- cgit v1.1