Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Jan 2009 17:59:18 +0000 (09:59 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Jan 2009 17:59:18 +0000 (09:59 -0800)
sbin/hammer/cmd_cleanup.c

index 07014e0..9053532 100644 (file)
@@ -97,7 +97,7 @@ hammer_cmd_cleanup(char **av, int ac)
 
        tzset();
        if (ac == 0) {
-               fp = popen("mount -t hammer,null", "r");
+               fp = popen("/sbin/mount -t hammer,null", "r");
                if (fp == NULL)
                        errx(1, "hammer cleanup: 'mount' failed");
                while (fgets(buf, sizeof(buf), fp) != NULL) {