aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-03-01 15:58:40 -0600
committerRob Landley <rob@landley.net>2015-03-01 15:58:40 -0600
commit70a84a356b1c56743618362867b9300007d11998 (patch)
tree2db214da036464cd76a2accb1191e3a9cdc1fc26 /toys/lsb
parent7c3c6a9639ee41fb750f78d87dc8a6cbe4e421a5 (diff)
downloadtoybox-70a84a356b1c56743618362867b9300007d11998.tar.gz
Patches from Elliott Hughes to add missing arguments to error_exit() calls.
Diffstat (limited to 'toys/lsb')
-rw-r--r--toys/lsb/mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/lsb/mount.c b/toys/lsb/mount.c
index c334681c..4d6679d1 100644
--- a/toys/lsb/mount.c
+++ b/toys/lsb/mount.c
@@ -144,7 +144,8 @@ 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;
}
}