diff options
author | obrien <obrien@FreeBSD.org> | 2000-12-09 09:35:55 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-12-09 09:35:55 +0000 |
commit | c2ee1dcc02035d781d6c70f06df7106979a9f870 (patch) | |
tree | 757810dc1fdd19be4c8125ccb9e8beb1aff3d929 /gnu/libexec/uucp/contrib | |
parent | c174181f432119d1dae3f5e58ecc14c8d7b6f545 (diff) | |
download | FreeBSD-src-c2ee1dcc02035d781d6c70f06df7106979a9f870.zip FreeBSD-src-c2ee1dcc02035d781d6c70f06df7106979a9f870.tar.gz |
Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
Diffstat (limited to 'gnu/libexec/uucp/contrib')
-rw-r--r-- | gnu/libexec/uucp/contrib/tstout.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/libexec/uucp/contrib/tstout.c b/gnu/libexec/uucp/contrib/tstout.c index dd82633..92eca75 100644 --- a/gnu/libexec/uucp/contrib/tstout.c +++ b/gnu/libexec/uucp/contrib/tstout.c @@ -15,6 +15,8 @@ This program must run suid to root. */ +/* $FreeBSD$ */ + #include <stdio.h> #include <string.h> @@ -36,7 +38,7 @@ main (argc, argv) char *z; if (argc != 2 - || strncmp (argv[1], "/dev/", sizeof "/dev/" - 1) != 0) + || strncmp (argv[1], _PATH_DEV, sizeof _PATH_DEV - 1) != 0) { fprintf (stderr, "Usage: tstout device\n"); exit (EXIT_FAILURE); |