/*********************************************************
- * Copyright (c) 2006-2023 VMware, Inc. All rights reserved.
+ * Copyright (c) 2006-2024 Broadcom. All rights reserved.
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
Bool ret = TRUE;
// strip the header from the file
- snprintf(zipName, sizeof zipName, "%s/%x", destDir, (unsigned int)time(0));
+ snprintf(zipName, sizeof zipName, "%s/%llx", destDir, (long long)time(NULL));
zipName[(sizeof zipName) - 1] = '\0';
if ((pkgFd = open(pkgName, O_RDONLY)) < 0) {
sLog(log_error, "Failed to open package file '%s' for read. (%s)",