Usermode/Automounter - Added message on successful automount
authorJohn Hodge <[email protected]>
Wed, 10 Jul 2013 12:28:44 +0000 (20:28 +0800)
committerJohn Hodge <[email protected]>
Wed, 10 Jul 2013 12:28:44 +0000 (20:28 +0800)
Usermode/Applications/automounter_src/main.c

index c30924a..df23d91 100644 (file)
@@ -88,5 +88,8 @@ void TryMount(const char *Volume, const char *Part)
        if( _SysMount(devpath, mntpath, NULL, "") ) {
                fprintf(stderr, "Unable to mount '%s'\n", devpath);
        }
+       else {
+               printf("Automouted '%s'\n", devpath);
+       }
 }
 

UCC git Repository :: git.ucc.asn.au