summaryrefslogtreecommitdiff
path: root/cmdline/indexcopy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/indexcopy.cc')
-rw-r--r--cmdline/indexcopy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/indexcopy.cc b/cmdline/indexcopy.cc
index 3ce12a94b..0a3cd1575 100644
--- a/cmdline/indexcopy.cc
+++ b/cmdline/indexcopy.cc
@@ -83,7 +83,7 @@ bool IndexCopy::CopyPackages(string CDROM,string Name,vector<string> &List)
fclose(tmp);
// Fork gzip
- int Process = fork();
+ pid_t Process = fork();
if (Process < 0)
return _error->Errno("fork","Couldn't fork gzip");