aboutsummaryrefslogtreecommitdiff
path: root/net/scand
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-19 11:51:52 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-19 11:51:52 +0000
commitc4581eac9bfa07e8ce046d8528f22e1587cf91a2 (patch)
tree1240c7a4e5e458265955baeccce1a9bb10c8f86d /net/scand
parent7c6ac8ed7a236a1d3ab7dfcf80c7f0697bdb7190 (diff)
downloadports-c4581eac9bfa07e8ce046d8528f22e1587cf91a2.tar.gz
ports-c4581eac9bfa07e8ce046d8528f22e1587cf91a2.zip
Notes
Diffstat (limited to 'net/scand')
-rw-r--r--net/scand/files/patch-viewstat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/scand/files/patch-viewstat.c b/net/scand/files/patch-viewstat.c
new file mode 100644
index 000000000000..5403dff1d811
--- /dev/null
+++ b/net/scand/files/patch-viewstat.c
@@ -0,0 +1,11 @@
+--- viewstat.c.orig Wed Nov 19 12:49:59 2003
++++ viewstat.c Wed Nov 19 12:50:15 2003
+@@ -122,7 +122,7 @@
+ if (fstat(fd,&filestat)) Quit("fstat");
+
+ printf("Number of clusters = %d\n",
+- (int) filestat.st_size / sizeof (clusterItem));
++ (int) filestat.st_size / (int) sizeof (clusterItem));
+ }
+
+ while ( sizeof(clusterItem) == read( fd, &temp, sizeof(clusterItem)) ) {