diff options
Diffstat (limited to 'arch/um/drivers/line.c')
-rw-r--r-- | arch/um/drivers/line.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index b8e3e800ee41..a3c39373adb9 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -831,8 +831,8 @@ char *add_xterm_umid(char *base) | |||
831 | char *umid, *title; | 831 | char *umid, *title; |
832 | int len; | 832 | int len; |
833 | 833 | ||
834 | umid = get_umid(1); | 834 | umid = get_umid(); |
835 | if(umid == NULL) | 835 | if(*umid == '\0') |
836 | return base; | 836 | return base; |
837 | 837 | ||
838 | len = strlen(base) + strlen(" ()") + strlen(umid) + 1; | 838 | len = strlen(base) + strlen(" ()") + strlen(umid) + 1; |