mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
14 lines
427 B
C
14 lines
427 B
C
$NetBSD: patch-rw_readWritePS.c,v 1.1 2012/10/24 15:38:43 joerg Exp $
|
|
|
|
--- rw/readWritePS.c.orig 2012-10-24 12:51:26.000000000 +0000
|
|
+++ rw/readWritePS.c
|
|
@@ -383,7 +383,7 @@ ReadPS(char *file)
|
|
fclose(fp);
|
|
|
|
type_doc = TestPS(file);
|
|
- if (!type_doc) return; /* should not happen anyway ... */
|
|
+ if (!type_doc) return NULL; /* should not happen anyway ... */
|
|
|
|
strncpy(rad, file, 256),
|
|
rad[256] = '\0';
|