From 70a84a356b1c56743618362867b9300007d11998 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 1 Mar 2015 15:58:40 -0600 Subject: Patches from Elliott Hughes to add missing arguments to error_exit() calls. --- toys/lsb/mount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toys/lsb/mount.c') 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; } } -- cgit v1.2.3