summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2015-02-15 21:47:43 +0000
committerjilles <jilles@FreeBSD.org>2015-02-15 21:47:43 +0000
commita0092595b982169cd521ba2b02e4bccef5235b4e (patch)
tree999b8055d2fa2e1f7fca45cdaba4917842dba200 /bin/sh/parser.c
parent0dba15bee91300d5b8867055900ce2b9527313cf (diff)
downloadFreeBSD-src-a0092595b982169cd521ba2b02e4bccef5235b4e.zip
FreeBSD-src-a0092595b982169cd521ba2b02e4bccef5235b4e.tar.gz
sh: Prefer "" to nullstr where possible.
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index 0048314..2bba84e 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -1940,7 +1940,7 @@ getprompt(void *unused __unused)
*/
switch (whichprompt) {
case 0:
- fmt = nullstr;
+ fmt = "";
break;
case 1:
fmt = ps1val();
OpenPOWER on IntegriCloud