summaryrefslogtreecommitdiff
path: root/usr/src/cmd/dlmgmtd
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2015-03-06 19:51:30 +0000
committerRobert Mustacchi <rm@joyent.com>2015-03-06 19:51:30 +0000
commit0d5c71e1b49a64434736d41cc4e03094221e6030 (patch)
tree7c30abb81cf8d6167a56f8a31d932f70f19649a0 /usr/src/cmd/dlmgmtd
parentaf38478c0f8beb8c668884bae80b254bd96a1e67 (diff)
downloadillumos-joyent-0d5c71e1b49a64434736d41cc4e03094221e6030.tar.gz
OS-3839 dlmgmtd clobbers its cachefile with excessive use of /native (fix lx)
Diffstat (limited to 'usr/src/cmd/dlmgmtd')
-rw-r--r--usr/src/cmd/dlmgmtd/dlmgmt_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/dlmgmtd/dlmgmt_db.c b/usr/src/cmd/dlmgmtd/dlmgmt_db.c
index dc977f1d74..8eecc807e5 100644
--- a/usr/src/cmd/dlmgmtd/dlmgmt_db.c
+++ b/usr/src/cmd/dlmgmtd/dlmgmt_db.c
@@ -1480,7 +1480,7 @@ dlmgmt_db_init(zoneid_t zoneid, char *zoneroot)
/* Handle running in a non-native branded zone (i.e. has /native) */
if (zone_file_exists(zoneroot, "/native" DLMGMT_TMPFS_DIR)) {
(void) snprintf(tdir, sizeof (tdir), "/native%s", cachefile);
- path = cachefile;
+ path = tdir;
}
if (zone_file_exists(zoneroot, path)) {