summaryrefslogtreecommitdiffstats
path: root/bin/cp/cp.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-07 12:09:17 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-07 12:09:17 +0000
commit86b0c078f70abab5140a11d0a13440d83cdce13d (patch)
tree7cd7c968e6ffd27f6c903b0ed17950fe2084db38 /bin/cp/cp.c
parentca2109254b4fe44dbb7c0c746ba136969ce608f4 (diff)
downloadFreeBSD-src-86b0c078f70abab5140a11d0a13440d83cdce13d.zip
FreeBSD-src-86b0c078f70abab5140a11d0a13440d83cdce13d.tar.gz
Use the correct data type and qualifier for signal flag.
Diffstat (limited to 'bin/cp/cp.c')
-rw-r--r--bin/cp/cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index 9776729..5bb9f8c 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -89,7 +89,7 @@ PATH_T to = { to.p_path, emptystring, "" };
int fflag, iflag, nflag, pflag, vflag;
static int Rflag, rflag;
-int info;
+volatile sig_atomic_t info;
static void siginfo (int notused __unused);
enum op { FILE_TO_FILE, FILE_TO_DIR, DIR_TO_DNE };
OpenPOWER on IntegriCloud