Module Name:    src
Committed By:   jakllsch
Date:           Sun Jan  5 20:52:57 UTC 2014

Modified Files:
        src/sys/arch/i386/stand/lib: parseutils.c

Log Message:
No need to return a empty string literal of the wrong const-ness when we
already have a empty string of the correct const-ness.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/i386/stand/lib/parseutils.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/stand/lib/parseutils.c
diff -u src/sys/arch/i386/stand/lib/parseutils.c:1.6 src/sys/arch/i386/stand/lib/parseutils.c:1.7
--- src/sys/arch/i386/stand/lib/parseutils.c:1.6	Thu Aug 18 13:20:04 2011
+++ src/sys/arch/i386/stand/lib/parseutils.c	Sun Jan  5 20:52:57 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: parseutils.c,v 1.6 2011/08/18 13:20:04 christos Exp $	*/
+/*	$NetBSD: parseutils.c,v 1.7 2014/01/05 20:52:57 jakllsch Exp $	*/
 
 /*
  * Copyright (c) 1996, 1997
@@ -64,7 +64,7 @@ gettrailer(char *arg)
 		break;
 	}
 	if (*options == '\0')
-		return "";
+		return options;
 
 	/* trim leading blanks/tabs */
 	while (*options == ' ' || *options == '\t')

Reply via email to