+Version 1.01.04
+=============================
+ Fix dmsetup ls -j and status --target with empty table.
+
Version 1.01.03 - 13 Jun 2005
=============================
Use matchpathcon mode parameter.
if (!dm_task_run(dmt))
goto out;
+ if (!name)
+ name = (char *) dm_task_get_name(dmt);
+
/* Fetch targets and print 'em */
do {
next = dm_get_next_target(dmt, next, &start, &length,
&target_type, ¶ms);
/* Skip if target type doesn't match */
- if (_switches[TARGET_ARG] && target_type &&
- strcmp(target_type, _target))
+ if (_switches[TARGET_ARG] &&
+ (!target_type || strcmp(target_type, _target)))
continue;
if (ls_only) {
if (!_switches[EXEC_ARG] || !_command ||