]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(dracut-install): use correct data type for pid
authorMarcos Mello <marcosfrm@gmail.com>
Tue, 10 Sep 2024 19:58:15 +0000 (16:58 -0300)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Wed, 11 Sep 2024 12:03:12 +0000 (08:03 -0400)
src/install/dracut-install.c

index 860af31215b8f69619addb63761544ca210b4bb3..bb0005206fbefd9991a95749f9d1cd0c613be442 100644 (file)
@@ -347,7 +347,7 @@ static bool use_clone = true;
 
 static int cp(const char *src, const char *dst)
 {
-        int pid;
+        pid_t pid;
         int ret = 0;
 
         if (use_clone) {