diff options
author | Ivan Romanov <drizt@land.ru> | 2012-10-15 12:41:36 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2012-10-15 13:07:41 -0400 |
commit | a16f4a13677d13b0aae9327a3b9e8414470b7927 (patch) | |
tree | d7794397316fe59fac899dddced15552c91a06ca /support | |
parent | b010d126bbb8265e5717e596711d754baec11e6c (diff) | |
download | nfs-utils-a16f4a13677d13b0aae9327a3b9e8414470b7927.tar.gz nfs-utils-a16f4a13677d13b0aae9327a3b9e8414470b7927.tar.xz nfs-utils-a16f4a13677d13b0aae9327a3b9e8414470b7927.zip |
Exportfs crashes with long path
Acked-by: Bruce Fields <bfields@fieldses.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support')
-rw-r--r-- | support/export/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/export/export.c b/support/export/export.c index 4fda30a..0257903 100644 --- a/support/export/export.c +++ b/support/export/export.c @@ -357,7 +357,7 @@ strtoint(char *str) static int export_hash(char *str) { - int num = strtoint(str); + unsigned int num = strtoint(str); return num % HASH_TABLE_SIZE; } |