diff --git a/contribs/sjobexit/sjobexitmod.pl b/contribs/sjobexit/sjobexitmod.pl
index a103d98762cbd6d6cec6b08b0901d9432b897ab5..cfd055bd5e7157728716921d648254765dad6900 100755
--- a/contribs/sjobexit/sjobexitmod.pl
+++ b/contribs/sjobexit/sjobexitmod.pl
@@ -162,10 +162,10 @@ sub usage
         $base [-h]
         $base [-man]
 
-	-e <exit code>		Show user and all accounts and share usage for named user (required).
-	-r <reason string>	Show account and share usage for named account (required).
+	-e <exit code>		Modify the derived exit code to new value.
+	-r <reason string>	Modify the derived exit string to new value.
 	-c <cluster>		Name of cluster (optional).
-	-l 			list information for a completed job.
+	-l 			List information for a completed job.
 	-h 			Show usage.
 	JobId			The identification number of the job.
 	-man 			Show man page.
diff --git a/src/sacct/print.c b/src/sacct/print.c
index 6c69bc7e50c8db80abd44447b7a6b1e5cf466389..398647e41b17bcecd6236736a1dff29f062dda48 100644
--- a/src/sacct/print.c
+++ b/src/sacct/print.c
@@ -355,6 +355,8 @@ void print_fields(type_t type, void *object)
 			switch(type) {
 			case JOB:
 				tmp_int = job->derived_ec;
+				if (tmp_int == NO_VAL)
+					tmp_int = 0;
 				if (WIFSIGNALED(tmp_int))
 					tmp_int2 = WTERMSIG(tmp_int);