[Toybox] [PATCH] add missing argument to error_msg in mount_filesystem

enh enh at google.com
Wed Feb 25 21:28:03 PST 2015


diff --git a/toys/lsb/mount.c b/toys/lsb/mount.c
index c334681..f8c25e3 100644
--- a/toys/lsb/mount.c
+++ b/toys/lsb/mount.c
@@ -144,7 +144,7 @@ static void mount_filesystem(char *dev, char *dir,
char *type,
   if (getuid()) {
     if (TT.okuser) TT.okuser = 0;
     else {
-      error_msg("'%s' not user mountable in fstab");
+      error_msg("'%s' not user mountable in fstab", dev);
       return;
     }
   }

 1424928483.0


More information about the Toybox mailing list