chiark / gitweb /
core/mount: use isempty() to check for empty strings
[elogind.git] / src / core / mount.c
index 9f7c4d20b3c2959cea4bf0c7c25934bb62221c58..5c87ed31ef60a222b56d6b3ac5c487ff67ecd081 100644 (file)
@@ -932,7 +932,7 @@ static void mount_enter_mounting(Mount *m) {
                         r = exec_command_append(m->control_command, "-s", NULL);
                 if (r >= 0 && m->parameters_fragment.fstype)
                         r = exec_command_append(m->control_command, "-t", m->parameters_fragment.fstype, NULL);
-                if (r >= 0 && !strempty(opts))
+                if (r >= 0 && !isempty(opts))
                         r = exec_command_append(m->control_command, "-o", opts, NULL);
         } else
                 r = -ENOENT;