opkg: Fix -Wformat-overflow warning
[oweals/opkg-lede.git] / libopkg / opkg_install.c
index 976f446c8411be0684b28ff7f03902610e583eeb..27c9484cfb8189e42cbc073eaa14a67c71c3507a 100644 (file)
@@ -244,8 +244,7 @@ static int unpack_pkg_control_files(pkg_t * pkg)
 
        tmp_unpack_dir = mkdtemp(tmp_unpack_dir);
        if (tmp_unpack_dir == NULL) {
-               opkg_perror(ERROR, "Failed to create temporary directory '%s'",
-                           tmp_unpack_dir);
+               opkg_perror(ERROR, "Failed to create temporary directory");
                return -1;
        }