12 lines
268 B
Plaintext
12 lines
268 B
Plaintext
|
--- cfs_nfs.c.orig Mon Dec 25 07:24:31 1995
|
||
|
+++ cfs_nfs.c Sun Mar 13 16:57:45 2005
|
||
|
@@ -51,7 +51,7 @@
|
||
|
|
||
|
ret[0]='\0';
|
||
|
for (i=0; i<NFS_FHSIZE; i++) {
|
||
|
- sprintf((char *)x,"%02x",fh[i]);
|
||
|
+ (void)snprintf((char *)x,3,"%02x",fh[i]);
|
||
|
strcat(ret,x);
|
||
|
}
|
||
|
return ret;
|