diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index 5853bbf60cae..d3adb7ba138f 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -1137,7 +1137,7 @@ long get_random() { static int how = 0; - int fd; + static int fd; long rnd; if (how == 0) {