Welcome to Healthcare Magic Forum..
I am sorry to hear about your friend. There are various kinds of problem which can affect liver
of liver, Cancer, Infection, Congenital disease. It depends on the type and severity of disease your friend is suffering from to decide on the time he will be able to survive. Get himself investigated in detail with a good doctor and hopefully his condition will be cured!
Hope this helps!!