diff options
author | Etienne Brateau <etienne.brateau@gmail.com> | 2022-01-19 20:29:44 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-20 00:31:56 +0100 |
commit | fdd4f062ad4e4bbf298b72846bfed263ec1b482b (patch) | |
tree | 723a48c7b51063912202b7ff021ab0cca2f4b5ed /libnetfs | |
parent | ee3096149e95aeea12df75fffe2bae789917b927 (diff) | |
download | hurd-fdd4f062ad4e4bbf298b72846bfed263ec1b482b.tar.gz hurd-fdd4f062ad4e4bbf298b72846bfed263ec1b482b.tar.bz2 hurd-fdd4f062ad4e4bbf298b72846bfed263ec1b482b.zip |
libnetfs: fix type of variable
Message-Id: <20220119192945.36654-6-etienne.brateau@gmail.com>
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/file-get-translator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/file-get-translator.c b/libnetfs/file-get-translator.c index 635653de..2dff6a13 100644 --- a/libnetfs/file-get-translator.c +++ b/libnetfs/file-get-translator.c @@ -66,7 +66,7 @@ netfs_S_file_get_translator (struct protid *user, else if (S_ISCHR (np->nn_stat.st_mode) || S_ISBLK (np->nn_stat.st_mode)) { char *buf; - unsigned int buflen; + int buflen; buflen = asprintf (&buf, "%s%c%d%c%d", (S_ISCHR (np->nn_stat.st_mode) |