about summary refs log tree commit diff
path: root/sunrpc/rpc_sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/rpc_sample.c')
-rw-r--r--sunrpc/rpc_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/rpc_sample.c b/sunrpc/rpc_sample.c
index 89bfc7f5a0..959f0a1780 100644
--- a/sunrpc/rpc_sample.c
+++ b/sunrpc/rpc_sample.c
@@ -278,7 +278,7 @@ write_sample_server (definition * def)
 	  f_print(fout, "\txdr_free (xdr_result, result);\n");
 	  f_print(fout,
 		  "\n\t/*\n\t * Insert additional freeing code here, if needed\n\t */\n");
-	  f_print(fout, "\n\treturn 0;\n}\n");
+	  f_print(fout, "\n\treturn 1;\n}\n");
 	}
     }
 }