acpi.c (d7b72f7b52f902da47cc7210a9121f4caabbcb9c) | acpi.c (4f3f3e9a1dee62c031fa67cfe64e11d6dd3fab1b) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2012 NetApp, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 852 unchanged lines hidden (view full) --- 861 return (0); 862} 863 864static int 865basl_compile(struct vmctx *ctx, int (*fwrite_section)(FILE *), uint64_t offset) 866{ 867 struct basl_fio io[2]; 868 static char iaslbuf[3*MAXPATHLEN + 10]; | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2012 NetApp, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 852 unchanged lines hidden (view full) --- 861 return (0); 862} 863 864static int 865basl_compile(struct vmctx *ctx, int (*fwrite_section)(FILE *), uint64_t offset) 866{ 867 struct basl_fio io[2]; 868 static char iaslbuf[3*MAXPATHLEN + 10]; |
869 char *fmt; | 869 const char *fmt; |
870 int err; 871 872 err = basl_start(&io[0], &io[1]); 873 if (!err) { 874 err = (*fwrite_section)(io[0].fp); 875 876 if (!err) { 877 /* --- 128 unchanged lines hidden --- | 870 int err; 871 872 err = basl_start(&io[0], &io[1]); 873 if (!err) { 874 err = (*fwrite_section)(io[0].fp); 875 876 if (!err) { 877 /* --- 128 unchanged lines hidden --- |