summaryrefslogblamecommitdiff
path: root/user/nfs-utils/nfsdcld.patch
blob: e80956bb874784aa6a72c90d7bd5ad74cee15d2f (plain) (tree)




















                                                                                   
--- nfs-utils-2.4.1/utils/nfsdcld/legacy.c.old	2019-06-10 14:34:37.000000000 +0000
+++ nfs-utils-2.4.1/utils/nfsdcld/legacy.c	2019-06-20 00:29:10.493973462 +0000
@@ -24,6 +24,7 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <limits.h>
 #include "cld.h"
 #include "sqlite.h"
 #include "xlog.h"
--- nfs-utils-2.4.1/utils/nfsdcld/nfsdcld.c.old	2019-06-10 14:34:37.000000000 +0000
+++ nfs-utils-2.4.1/utils/nfsdcld/nfsdcld.c	2019-06-20 00:28:42.926915402 +0000
@@ -645,7 +645,7 @@
 int
 main(int argc, char **argv)
 {
-	char arg;
+	int arg;
 	int rc = 0;
 	bool foreground = false;
 	char *progname;