rpms/nfs-utils/devel nfs-utils-1.1.3-smnotify-earlyexit.patch, 1.1, 1.2

Steve Dickson steved at fedoraproject.org
Tue Oct 14 18:59:35 UTC 2008


Author: steved

Update of /cvs/pkgs/rpms/nfs-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10930

Modified Files:
	nfs-utils-1.1.3-smnotify-earlyexit.patch 
Log Message:
Removed some fuzz errors from smnotify-earlyexit.patch


nfs-utils-1.1.3-smnotify-earlyexit.patch:

Index: nfs-utils-1.1.3-smnotify-earlyexit.patch
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/devel/nfs-utils-1.1.3-smnotify-earlyexit.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nfs-utils-1.1.3-smnotify-earlyexit.patch	14 Oct 2008 18:41:50 -0000	1.1
+++ nfs-utils-1.1.3-smnotify-earlyexit.patch	14 Oct 2008 18:59:05 -0000	1.2
@@ -8,12 +8,11 @@
     
     Signed-off-by: Steve Dickson <steved at redhat.com>
 
-diff --git a/utils/statd/sm-notify.c b/utils/statd/sm-notify.c
-index 76a378c..7a7ae1a 100644
---- a/utils/statd/sm-notify.c
-+++ b/utils/statd/sm-notify.c
-@@ -189,9 +189,13 @@ usage:		fprintf(stderr,
- 		exit(1);
+diff -up nfs-utils-1.1.3/utils/statd/sm-notify.c.orig nfs-utils-1.1.3/utils/statd/sm-notify.c
+--- nfs-utils-1.1.3/utils/statd/sm-notify.c.orig	2008-10-14 14:51:49.000000000 -0400
++++ nfs-utils-1.1.3/utils/statd/sm-notify.c	2008-10-14 14:52:58.000000000 -0400
+@@ -154,9 +154,13 @@ usage:		fprintf(stderr,
+ 		return 1;
  	}
  
 +	log_syslog = 1;
@@ -26,7 +25,7 @@
  			exit(0);
  	}
  
-@@ -207,6 +211,12 @@ usage:		fprintf(stderr,
+@@ -171,6 +175,12 @@ usage:		fprintf(stderr,
  	backup_hosts(_SM_DIR_PATH, _SM_BAK_PATH);
  	get_hosts(_SM_BAK_PATH);
  
@@ -39,7 +38,7 @@
  	/* Get and update the NSM state. This will call sync() */
  	nsm_state = nsm_get_state(opt_update_state);
  	set_kernel_nsm_state(nsm_state);
-@@ -215,9 +225,6 @@ usage:		fprintf(stderr,
+@@ -179,9 +189,6 @@ usage:		fprintf(stderr,
  		if (!opt_quiet)
  			printf("Backgrounding to notify hosts...\n");
  
@@ -47,5 +46,5 @@
 -		log_syslog = 1;
 -
  		if (daemon(0, 0) < 0) {
- 			nsm_log(LOG_ERR, "unable to background: %s",
+ 			nsm_log(LOG_WARNING, "unable to background: %s",
  					strerror(errno));




More information about the scm-commits mailing list