projects
/
project
/
mountd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: add support for HFSX Plus file system
[project/mountd.git]
/
mount.c
diff --git
a/mount.c
b/mount.c
index 26e416e3f22c99c2304bcc8f1dde68578a21c057..2d5114cf8cefcc5c972f7941c24bcf204d6062a6 100644
(file)
--- a/
mount.c
+++ b/
mount.c
@@
-394,7
+394,7
@@
static char* mount_get_serial(char *dev)
{
int id;
struct stat buf;
- char tmp3[
255
];
+ char tmp3[
strlen(namelist[n]->d_name) + strlen(dev) + 31
];
int ret;
*t = 0;
id = atoi(namelist[n]->d_name);