diff options
Diffstat (limited to 'src/rc/checkpath.c')
-rw-r--r-- | src/rc/checkpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c index 4b57e187..74bed53f 100644 --- a/src/rc/checkpath.c +++ b/src/rc/checkpath.c @@ -52,7 +52,7 @@ static int do_check (char *path, uid_t uid, gid_t gid, mode_t mode, int file) { struct stat st; - memset (&st, 0, sizeof (struct stat)); + memset (&st, 0, sizeof (st)); if (stat (path, &st)) { if (file) { |