From aa98d28d4582ecdd6a54dda839189ea7c6648a5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Sun, 15 May 2022 11:30:26 +0200 Subject: [PATCH] C9stat: put qid first, as it has to match with qid[0] --- c9.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c9.h b/c9.h index 7d8e431..8d87655 100644 --- a/c9.h +++ b/c9.h @@ -151,12 +151,12 @@ struct C9qid */ struct C9stat { + C9qid qid; /* Same as qid[0]. */ uint64_t size; /* Size of the file (in bytes). */ char *name; /* Name of the file. */ char *uid; /* Owner of the file. */ char *gid; /* Group of the file. */ char *muid; /* The user who modified the file last. */ - C9qid qid; /* Same as qid[0]. */ uint32_t mode; /* Permissions. See C9st* and C9perm. */ uint32_t atime; /* Last access time. */ uint32_t mtime; /* Last modification time. */ -- 2.45.2