From a5df177eedf4f95204a45a7e7dc683b1e3f828bc Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 29 Mar 2008 12:42:54 +0100 Subject: [PATCH 1/1] Fix lsatt command. --- attribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attribute.c b/attribute.c index bfb6d3f2..e7fba902 100644 --- a/attribute.c +++ b/attribute.c @@ -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); } -- 2.39.2