[Midnightbsd-cvs] src [7437] trunk/lib/libmport/bundle_read_install_pkg.c: use int here too
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Jan 23 15:34:26 EST 2016
Revision: 7437
http://svnweb.midnightbsd.org/src/?rev=7437
Author: laffer1
Date: 2016-01-23 15:34:25 -0500 (Sat, 23 Jan 2016)
Log Message:
-----------
use int here too
Modified Paths:
--------------
trunk/lib/libmport/bundle_read_install_pkg.c
Modified: trunk/lib/libmport/bundle_read_install_pkg.c
===================================================================
--- trunk/lib/libmport/bundle_read_install_pkg.c 2016-01-23 20:26:02 UTC (rev 7436)
+++ trunk/lib/libmport/bundle_read_install_pkg.c 2016-01-23 20:34:25 UTC (rev 7437)
@@ -208,7 +208,7 @@
pkg->name) != MPORT_OK)
goto ERROR;
- if (mport_db_prepare(db, &assets, "SELECT type,data,checksum FROM stub.assets WHERE pkg=%Q and type not in (%Q, %Q)", pkg->name, ASSET_PREEXEC, ASSET_POSTEXEC) != MPORT_OK)
+ if (mport_db_prepare(db, &assets, "SELECT type,data,checksum FROM stub.assets WHERE pkg=%Q and type not in (%d, %d)", pkg->name, ASSET_PREEXEC, ASSET_POSTEXEC) != MPORT_OK)
goto ERROR;
(void) strlcpy(cwd, pkg->prefix, sizeof(cwd));
More information about the Midnightbsd-cvs
mailing list