aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/upas/nfs')
-rw-r--r--src/cmd/upas/nfs/imap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/upas/nfs/imap.c b/src/cmd/upas/nfs/imap.c
index e81ab270..e1a77773 100644
--- a/src/cmd/upas/nfs/imap.c
+++ b/src/cmd/upas/nfs/imap.c
@@ -1416,6 +1416,8 @@ nstring(Sx *v)
{
char *p;
+ if(isnil(v))
+ return estrdup("");
p = v->data;
v->data = nil;
return p;