diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-20 19:35:47 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-20 19:35:47 +0000 |
commit | 75316225b73d676b158afdaf3349282914f0789b (patch) | |
tree | a87540e068cf91b5ef51b9efe0610d4770be05aa /sys/src | |
parent | 00c0aab339550165382f5fa8e15a0f64275093ee (diff) |
cwfs: fix compiler warning
Diffstat (limited to 'sys/src')
-rw-r--r-- | sys/src/cmd/cwfs/cw.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/src/cmd/cwfs/cw.c b/sys/src/cmd/cwfs/cw.c index fcc826268..f52112732 100644 --- a/sys/src/cmd/cwfs/cw.c +++ b/sys/src/cmd/cwfs/cw.c @@ -752,12 +752,10 @@ bad: int -cwgrow(Device *dev, Superb *sb, int uid) +cwgrow(Device *dev, Superb *sb, int) { - char str[NAMELEN]; Iobuf *cb; Cache *h; - Filsys *filsys; Off fs, nfs, ws; cb = getbuf(CDEV(dev), CACHE_ADDR, Brd|Bmod|Bres); @@ -773,16 +771,6 @@ cwgrow(Device *dev, Superb *sb, int uid) putbuf(cb); sb->fsize = nfs; - filsys = dev2fs(dev); -/* - if (filsys == nil) - print("%Z", dev); - else - print("%s", filsys->name); - uidtostr(str, uid, 1); - print(" grow from %lld to %lld limit %lld by %s uid=%d\n", - (Wideoff)fs, (Wideoff)nfs, (Wideoff)ws, str, uid); -*/ for(nfs--; nfs>=fs; nfs--) switch(cwio(dev, nfs, 0, Ogrow)) { case Cerror: |