comparison toys/lsb/mount.c @ 1713:58d9f1b61f0a draft

Patches from Elliott Hughes to add missing arguments to error_exit() calls.
author Rob Landley <rob@landley.net>
date Sun, 01 Mar 2015 15:58:40 -0600
parents 9b906eb047e8
children 57f2a26fa92c
comparison
equal deleted inserted replaced
1712:59a3fd32329c 1713:58d9f1b61f0a
142 if (toys.optflags & FLAG_f) return; 142 if (toys.optflags & FLAG_f) return;
143 143
144 if (getuid()) { 144 if (getuid()) {
145 if (TT.okuser) TT.okuser = 0; 145 if (TT.okuser) TT.okuser = 0;
146 else { 146 else {
147 error_msg("'%s' not user mountable in fstab"); 147 error_msg("'%s' not user mountable in fstab", dev);
148
148 return; 149 return;
149 } 150 }
150 } 151 }
151 152
152 // Autodetect bind mount or filesystem type 153 // Autodetect bind mount or filesystem type