]> git.tue.mpg.de Git - paraslash.git/commitdiff
Fix lsatt command.
authorAndre Noll <maan@systemlinux.org>
Sat, 29 Mar 2008 11:42:54 +0000 (12:42 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 29 Mar 2008 11:42:54 +0000 (12:42 +0100)
attribute.c

index bfb6d3f2765749be1147b430439bb78dfe3d8d8a..e7fba9021d29fc19fcc7ad0d09534c65914d3a56 100644 (file)
@@ -166,7 +166,7 @@ static void com_lsatt_callback(int fd, const struct osl_object *query)
        if (laad.flags & LSATT_FLAG_REVERSE)
                pmd.pm_flags |= PM_REVERSE_LOOP;
        for_each_matching_row(&pmd);
-       if (!laad.pb.offset)
+       if (laad.pb.offset)
                pass_buffer_as_shm(laad.pb.buf, laad.pb.offset, &fd);
        free(laad.pb.buf);
 }