From 4718bc9fc4c9e4d717310abd8746a054c2c34c16 Mon Sep 17 00:00:00 2001 From: Mike Hibler <mike@flux.utah.edu> Date: Tue, 27 Mar 2007 18:15:27 +0000 Subject: [PATCH] Fix from main branch: add third arg to open call --- tools/pcapper/pcapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/pcapper/pcapper.c b/tools/pcapper/pcapper.c index ae748c16db..875062701d 100644 --- a/tools/pcapper/pcapper.c +++ b/tools/pcapper/pcapper.c @@ -1,6 +1,6 @@ /* * EMULAB-COPYRIGHT - * Copyright (c) 2000-2006 University of Utah and the Flux Group. + * Copyright (c) 2000-2007 University of Utah and the Flux Group. * All rights reserved. */ @@ -904,7 +904,7 @@ int main (int argc, char **argv) { fd = 1; } else { fd = open(filenames[i], - O_WRONLY | O_CREAT | O_TRUNC); + O_WRONLY | O_CREAT | O_TRUNC, 0600); if (fd < 0) { perror("Opening savefile"); exit(1); -- GitLab