From: Lars Hjemli Date: Tue, 20 May 2008 15:56:47 +0000 (+0200) Subject: cache.c: fix error checking in print_slot() X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/dd7c172542440170b5b1aca8be43d2ad6dae7227?ds=inline;hp=dd7c172542440170b5b1aca8be43d2ad6dae7227 cache.c: fix error checking in print_slot() The change to print_slot() in cdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8 made the function return correct errno for read errors while ignoring write errors, which is not what was intended. This patch tries to rectify things. Signed-off-by: Lars Hjemli ---