From 8f5e94f48e7668e3c5dcaa1cde1b8f591c05bb58 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 3 Jan 2015 10:16:10 +0100 Subject: lib*: Fix typos in comments (found by codespell) Signed-off-by: Stefan Weil --- libtreefs/treefs-hooks.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libtreefs') diff --git a/libtreefs/treefs-hooks.h b/libtreefs/treefs-hooks.h index 3af4a546..6dc2f731 100644 --- a/libtreefs/treefs-hooks.h +++ b/libtreefs/treefs-hooks.h @@ -264,7 +264,7 @@ DNH(dir_init, error_t) /* If NODE is a symlink, copies the contents into BUF, which should have at least *LEN bytes available, and returns 0; if the symlink is too big, E2BIG is returned. Either way, the actual length of the symlink is - returned in *LEN (so if it's too big, you can allocate an appropiately + returned in *LEN (so if it's too big, you can allocate an appropriately sized buffer and try again). If NODE is not a symlink, EINVAL is returned. */ DNH(node_get_symlink, error_t, char *buf, int *len) @@ -275,7 +275,7 @@ DNH(node_get_symlink, error_t, char *buf, int *len) should have at least *LEN bytes available, and returns 0; if the string is too big, E2BIG is returned. Either way, the actual length of the translator string is returned in *LEN (so if it's too big, you can - allocate an appropiately sized buffer and try again). If NODE has no + allocate an appropriately sized buffer and try again). If NODE has no passive translator, EINVAL is returned. */ DNH(node_get_passive_trans, error_t, char *buf, int *len) #define treefs_node_get_passive_trans(node, args...) \ -- cgit v1.2.3