SCCS-vsn: sbin/fsck/preen.c 5.7
-static char sccsid[] = "@(#)preen.c 5.6 (Berkeley) %G%";
+static char sccsid[] = "@(#)preen.c 5.7 (Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
return (name);
if ((stb.st_mode & S_IFMT) != S_IFCHR)
return (name);
return (name);
if ((stb.st_mode & S_IFMT) != S_IFCHR)
return (name);
- (void)strcpy(dp + 1, dp + 2);
+ (void)strcpy(&dp[1], &dp[2]);
(void)strcpy(rawbuf, name);
*dp = '/';
(void)strcat(rawbuf, "/r");
(void)strcpy(rawbuf, name);
*dp = '/';
(void)strcat(rawbuf, "/r");
- (void)strcat(rawbuf, dp + 1);
+ (void)strcat(rawbuf, &dp[1]);