SCCS-vsn: usr.bin/ex/ex3.7preserve/ex3.7preserve.c 7.8
/* Copyright (c) 1981 Regents of the University of California */
/* Copyright (c) 1981 Regents of the University of California */
-static char *sccsid = "@(#)ex3.7preserve.c 7.7 %G%";
+static char *sccsid = "@(#)ex3.7preserve.c 7.8 %G%";
#include <stdio.h>
#include <ctype.h>
#include <sys/param.h>
#include <stdio.h>
#include <ctype.h>
#include <sys/param.h>
- sprintf(cmd, "mail %s", pp->pw_name);
+ sprintf(cmd, "/bin/mail %s", pp->pw_name);
mf = popen(cmd, "w");
if (mf == NULL)
return;
mf = popen(cmd, "w");
if (mf == NULL)
return;