summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-01 16:22:29 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-10-01 16:22:29 +0300
commit74c4c95976238570f1d9d52d139da47a4719a598 (patch)
tree25ace91c07b511e635a82d621ab848cb2156aec0 /src/database.c
parent2721772488e2e22ac53bb5712d736644a96b9569 (diff)
downloadapk-tools-74c4c95976238570f1d9d52d139da47a4719a598.tar.gz
apk-tools-74c4c95976238570f1d9d52d139da47a4719a598.tar.bz2
apk-tools-74c4c95976238570f1d9d52d139da47a4719a598.tar.xz
apk-tools-74c4c95976238570f1d9d52d139da47a4719a598.zip
db, url: fix exec sentinels
http://ewontfix.com/11/
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index 01914ee..afe0a8c 100644
--- a/src/database.c
+++ b/src/database.c
@@ -1379,7 +1379,7 @@ static int do_remount(const char *path, const char *option)
if (pid == 0) {
execl("/bin/mount", "mount", "-o", "remount", "-o",
- option, path, NULL);
+ option, path, (void*) 0);
return 1;
}