diff options
author | rsc <devnull@localhost> | 2005-02-11 19:39:51 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-11 19:39:51 +0000 |
commit | 096ff3e14a188992d2dfe59c7fd3f5d6da791331 (patch) | |
tree | 7d570f58a3e398c7f04c04a34bd330aaf077ee45 /src/cmd/secstore/dirls.c | |
parent | d93fca6a7ab52f518d3e8aca1fc94139313b97ad (diff) | |
download | plan9port-096ff3e14a188992d2dfe59c7fd3f5d6da791331.tar.gz plan9port-096ff3e14a188992d2dfe59c7fd3f5d6da791331.tar.bz2 plan9port-096ff3e14a188992d2dfe59c7fd3f5d6da791331.zip |
add secstored; use readcons
Diffstat (limited to 'src/cmd/secstore/dirls.c')
-rw-r--r-- | src/cmd/secstore/dirls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/secstore/dirls.c b/src/cmd/secstore/dirls.c index 0af9c410..b4479413 100644 --- a/src/cmd/secstore/dirls.c +++ b/src/cmd/secstore/dirls.c @@ -64,7 +64,7 @@ dirls(char *path) if(path==nil || (ndir = ls(path, &dirbuf)) < 0) return nil; - qsort(dirbuf, ndir, sizeof dirbuf[0], (int (*)(void *, void *))compare); + qsort(dirbuf, ndir, sizeof dirbuf[0], (int (*)(const void *, const void *))compare); for(nmwid=lenwid=i=0; i<ndir; i++){ if((m = strlen(dirbuf[i].name)) > nmwid) nmwid = m; |