summaryrefslogtreecommitdiff
path: root/dpkg-deb/extract.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2011-01-20 18:41:09 +0100
committerGuillem Jover <guillem@debian.org>2011-01-31 06:30:22 +0100
commit44e022a801e0b5720a6e8d6887788ebf15b9995f (patch)
tree643a7f0dbde6b550188f0b16fd7cde16584ddca8 /dpkg-deb/extract.c
parentad95ee210312c38c12c6054e13dd45c1a8ff1c6c (diff)
downloaddpkg-44e022a801e0b5720a6e8d6887788ebf15b9995f.tar.gz
Use pid instead of c1 for variable name
Diffstat (limited to 'dpkg-deb/extract.c')
-rw-r--r--dpkg-deb/extract.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dpkg-deb/extract.c b/dpkg-deb/extract.c
index 28564dfa6..fef408b37 100644
--- a/dpkg-deb/extract.c
+++ b/dpkg-deb/extract.c
@@ -52,14 +52,14 @@
static void movecontrolfiles(const char *thing) {
char buf[200];
- pid_t c1;
+ pid_t pid;
sprintf(buf, "mv %s/* . && rmdir %s", thing, thing);
- c1 = subproc_fork();
- if (!c1) {
+ pid = subproc_fork();
+ if (pid == 0) {
command_shell(buf, _("shell command to move files"));
}
- subproc_wait_check(c1, _("shell command to move files"), 0);
+ subproc_wait_check(pid, _("shell command to move files"), 0);
}
static void DPKG_ATTR_NORET