summaryrefslogtreecommitdiffstats
path: root/source/utils
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-03-11 17:44:27 +0000
committerHerb Lewis <herb@samba.org>1998-03-11 17:44:27 +0000
commitbafc7768925109d0e8e87152054d37ec3f4e7fdd (patch)
tree28ccae0d69ed759df515de543e6e3ffa387fd3b4 /source/utils
parent687e9be59bc853f3ada6005c3826689854489799 (diff)
downloadsamba-bafc7768925109d0e8e87152054d37ec3f4e7fdd.tar.gz
samba-bafc7768925109d0e8e87152054d37ec3f4e7fdd.tar.xz
samba-bafc7768925109d0e8e87152054d37ec3f4e7fdd.zip
fix core dumps on Solaris 2.5 systems found by Orn Asgeirsson
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/make_printerdef.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/source/utils/make_printerdef.c b/source/utils/make_printerdef.c
index adf3b4c3e60..514773eb48b 100644
--- a/source/utils/make_printerdef.c
+++ b/source/utils/make_printerdef.c
@@ -428,12 +428,18 @@ void scan_short_desc(FILE *fichier, char *short_desc)
if (i) fprintf(stderr,"End of section found\n");
- fprintf(stderr,"CopyFiles: %s\n",copyfiles);
- fprintf(stderr,"Datasection: %s\n",datasection);
- fprintf(stderr,"Datafile: %s\n",datafile);
- fprintf(stderr,"Driverfile: %s\n",driverfile);
- fprintf(stderr,"Helpfile: %s\n",helpfile);
- fprintf(stderr,"LanguageMonitor: %s\n",languagemonitor);
+ fprintf(stderr,"CopyFiles: %s\n",
+ copyfiles?copyfiles:"(null)");
+ fprintf(stderr,"Datasection: %s\n",
+ datasection?datasection:"(null)");
+ fprintf(stderr,"Datafile: %s\n",
+ datafile?datafile:"(null)");
+ fprintf(stderr,"Driverfile: %s\n",
+ driverfile?driverfile:"(null)");
+ fprintf(stderr,"Helpfile: %s\n",
+ helpfile?helpfile:"(null)");
+ fprintf(stderr,"LanguageMonitor: %s\n",
+ languagemonitor?languagemonitor:"(null)");
if (copyfiles) scan_copyfiles(fichier,copyfiles);
}