X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frcvtty.c;h=20274e76b4e10e406c85fb88efbefc76f479fb97;hb=70b12e63eda23f816d3c5330d2df4fb6c5b66a58;hp=1e2a3efcc0ffc33d44a601428b913aff07fbdf8d;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/uip/rcvtty.c b/uip/rcvtty.c index 1e2a3ef..20274e7 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -99,7 +99,7 @@ main(int argc, char **argv) #ifdef LOCALE setlocale(LC_ALL, ""); #endif - invo_name = r1bindex(argv[0], '/'); + invo_name = mhbasename(argv[0]); /* read user profile/context */ context_read();