1.1 --- a/fsaccess/op_list_objects.c Sun Dec 11 00:21:58 2022 +0100
1.2 +++ b/fsaccess/op_list_objects.c Sun Dec 11 00:53:17 2022 +0100
1.3 @@ -29,16 +29,19 @@
1.4 #include <e2access/format.h> /* get_permission_string */
1.5 #include <e2access/path.h>
1.6 #include <fsclient/client.h>
1.7 +#include <systypes/format.h>
1.8
1.9 #include "ops.h"
1.10
1.11 +#define FMTnlinkd "%" pFMTnlink "d"
1.12 +
1.13
1.14
1.15 /* Show object details. */
1.16
1.17 static void _show_object(const char *basename, struct stat *st)
1.18 {
1.19 - printf("%s%s %5d %5d %6ld %6d %s\n",
1.20 + printf("%s%s %5d %5d %6ld " FMTnlinkd " %s\n",
1.21 S_ISDIR(st->st_mode) ? "d" : "-",
1.22 get_permission_string(st->st_mode),
1.23 st->st_uid,