is_root = STREQ (mountpoint, "/");
if (!root_mounted && !is_root) {
is_root = STREQ (mountpoint, "/");
if (!root_mounted && !is_root) {
"mount", "-o", options, device, mp, NULL);
free (mp);
if (r == -1) {
"mount", "-o", options, device, mp, NULL);
free (mp);
if (r == -1) {
- reply_with_error ("mount: %s on %s: %s", device, mountpoint, error);
+ reply_with_error ("%s on %s: %s", device, mountpoint, error);
r = command (NULL, &err, "umount", buf, NULL);
free (buf);
if (r == -1) {
r = command (NULL, &err, "umount", buf, NULL);
free (buf);
if (r == -1) {
- reply_with_error ("mount: %s on %s: %s", file, mountpoint, error);
+ reply_with_error ("%s on %s: %s", file, mountpoint, error);