summaryrefslogtreecommitdiffstats
path: root/misc-utils/mcookie.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:34 +0100
committerKarel Zak2006-12-07 00:25:34 +0100
commitfd6b7a7ffc50400704beb41d5a23af5f9edb1eed (patch)
tree997c0ca2abc018369babd7da59bcd0afe492068e /misc-utils/mcookie.c
parentImported from util-linux-2.5 tarball. (diff)
downloadkernel-qcow2-util-linux-fd6b7a7ffc50400704beb41d5a23af5f9edb1eed.tar.gz
kernel-qcow2-util-linux-fd6b7a7ffc50400704beb41d5a23af5f9edb1eed.tar.xz
kernel-qcow2-util-linux-fd6b7a7ffc50400704beb41d5a23af5f9edb1eed.zip
Imported from util-linux-2.7.1 tarball.
Diffstat (limited to 'misc-utils/mcookie.c')
-rw-r--r--misc-utils/mcookie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc-utils/mcookie.c b/misc-utils/mcookie.c
index a4c896075..05136190f 100644
--- a/misc-utils/mcookie.c
+++ b/misc-utils/mcookie.c
@@ -4,7 +4,7 @@
* Public Domain 1995 Rickard E. Faith (faith@cs.unc.edu)
* This program comes with ABSOLUTELY NO WARRANTY.
*
- * $Id: mcookie.c,v 1.2 1995/10/07 01:32:00 faith Exp $
+ * $Id: mcookie.c,v 1.5 1997/07/06 00:13:06 aebr Exp $
*
* This program gathers some random bits of data and used the MD5
* message-digest algorithm to generate a 128-bit hexadecimal number for
@@ -87,7 +87,7 @@ int main( int argc, char **argv )
if (file[0] == '-' && !file[1]) fd = fileno(stdin);
else if ((fd = open( file, O_RDONLY )) <0) {
- fprintf( stderr, "Could not open %s\n" );
+ fprintf( stderr, "Could not open %s\n", file );
}
while ((r = read( fd, buf, sizeof( buf ) )) > 0) {