diff options
author | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-05-18 03:11:19 +0000 |
---|---|---|
committer | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-05-18 03:11:19 +0000 |
commit | a5481f39612158860c674c338c9ca3d12cc5c883 (patch) | |
tree | 6efed4c4c821d7f8dd45b9418893b54650b3f689 | |
parent | 3ebce26dde2e0b680981d354d416f3dd8598f776 (diff) |
fix error message; ok ian
-rw-r--r-- | usr.bin/file/fsmagic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/file/fsmagic.c b/usr.bin/file/fsmagic.c index 0c44edf2c16..53dd082eb22 100644 --- a/usr.bin/file/fsmagic.c +++ b/usr.bin/file/fsmagic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fsmagic.c,v 1.10 2004/05/19 02:32:35 tedu Exp $ */ +/* $OpenBSD: fsmagic.c,v 1.11 2005/05/18 03:11:18 jaredy Exp $ */ /* * Copyright (c) Ian F. Darwin 1986-1995. * Software written by Ian F. Darwin and others; @@ -58,7 +58,7 @@ #undef HAVE_MAJOR #ifndef lint -FILE_RCSID("@(#)$Id: fsmagic.c,v 1.10 2004/05/19 02:32:35 tedu Exp $") +FILE_RCSID("@(#)$Id: fsmagic.c,v 1.11 2005/05/18 03:11:18 jaredy Exp $") #endif /* lint */ protected int @@ -91,7 +91,7 @@ file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb) return -1; } if (file_printf(ms, "cannot open (%s)", - fn, strerror(errno)) == -1) + strerror(errno)) == -1) return -1; return 1; } |