diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2004-03-13 00:11:05 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2004-03-13 00:11:05 +0000 |
| commit | 7d85b9aa14f86277c42264b544f4c88654e40f5b (patch) | |
| tree | 535cd10f1b5c63ebf4b80809fd97bf3e8ae4d719 /sbin | |
| parent | 08b82c6b744b5ae8c965ff8fe606ccdcd46f0bdd (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/ldconfig/ldconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ldconfig/ldconfig.c b/sbin/ldconfig/ldconfig.c index 284ec0bc7f524..23516a8516518 100644 --- a/sbin/ldconfig/ldconfig.c +++ b/sbin/ldconfig/ldconfig.c @@ -357,7 +357,7 @@ int dewey[], ndewey; shp = (struct shlib_list *)xmalloc(sizeof *shp); shp->name = strdup(name); shp->path = concat(dir, "/", file); - bcopy(dewey, shp->dewey, MAXDEWEY); + bcopy(dewey, shp->dewey, sizeof(shp->dewey)); shp->ndewey = ndewey; shp->next = NULL; |
